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

Indicates whether the Font property should be persisted.

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