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!

FontDialog.ShouldPersistColor

Indicates whether the Color property should be persisted.

[Visual Basic]
Public Function ShouldPersistColor() As Boolean
[C#]
public bool ShouldPersistColor();
[C++]
public: bool ShouldPersistColor();
[JScript]
public function ShouldPersistColor() : 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 FontDialog or creating your own control incorporating the FontDialog.

See Also

FontDialog Class | FontDialog Members | System.WinForms Namespace | ShouldPersistFont