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.ShouldPersistBackColor

Indicates whether the BackColor property should be persisted.

[Visual Basic]
Overrides Public Function ShouldPersistBackColor() As Boolean
[C#]
public override bool ShouldPersistBackColor();
[C++]
public: override bool ShouldPersistBackColor();
[JScript]
public override function ShouldPersistBackColor() : 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