NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PrintPreviewControl.ShouldPersistForeColor

Indicates whether the ForeColor property should be persisted.

[Visual Basic]
Overrides Public Function ShouldPersistForeColor() As Boolean
[C#]
public override bool ShouldPersistForeColor();
[C++]
public: override bool ShouldPersistForeColor();
[JScript]
public override function ShouldPersistForeColor() : Boolean;

Return Value

true if the property value has changed from its default; otherwise, false.

Remarks

You typically use this method if you are either creating a designer for the <Class> or creating your own control incorporating the <Class>.

See Also

PrintPreviewControl Class | PrintPreviewControl Members | System.WinForms Namespace