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;
true if the property value has changed from its default; otherwise, false.
You typically use this method if you are either creating a designer for the <Class> or creating your own control incorporating the <Class>.
PrintPreviewControl Class | PrintPreviewControl Members | System.WinForms Namespace