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!

ColorDialog.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 ColorDialog or creating your own control incorporating the ColorDialog.

See Also

ColorDialog Class | ColorDialog Members | System.WinForms Namespace | Color