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

Gets or sets a value indicating whether the dialog box will restrict users to selecting solid colors only.

[Visual Basic]
Overridable Public Property SolidColorOnly As Boolean
[C#]
public bool SolidColorOnly {virtual get; virtual set;}
[C++]
public: __property virtual bool get_SolidColorOnly();
public: __property virtual void set_SolidColorOnly(bool);
[JScript]
public function get SolidColorOnly() : Boolean;
public function set SolidColorOnly(Boolean);

Property Value

true if users can select only solid colors; otherwise, false. The default value is false.

Remarks

This property is applicable to systems with 256 or fewer colors. On these types of systems, some colors are composites of others.

See Also

ColorDialog Class | ColorDialog Members | System.WinForms Namespace