Dart.PowerWEB.TextBox Namespace > HtmlBox Class : ColorPaletteType Property (HtmlBox) |
Gets or sets a ColorPaletteType value representing the color palette that the user can select from when editing HTML.
[Visual Basic]
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
<DescriptionAttribute("Gets/sets a value which indicates the color palette to use.")>
Public Property ColorPaletteType As ColorPaletteType
[C#]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
[DescriptionAttribute("Gets/sets a value which indicates the color palette to use.")]
public ColorPaletteType ColorPaletteType {get; set;}
[C++]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
[DescriptionAttribute("Gets/sets a value which indicates the color palette to use.")]
public: __property ColorPaletteType get_ColorPaletteType();
public: __property void set_ColorPaletteType(
ColorPaletteType value
);
[C++/CLI]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
[DescriptionAttribute("Gets/sets a value which indicates the color palette to use.")]
public:
property ColorPaletteType ColorPaletteType {
ColorPaletteType get();
void set (ColorPaletteType value);
}
A ColorPaletteType representing the color palette available to users. The default is ColorPaletteType.Standard.
A color palette appears in multiple places in several different forms throughout the editor. For example, the font color picker button displays a palette of colors when clicked. The insert table dialog displays a drop down list of all colors when loaded. This property controls the colors that are displayed.
By default, this property is set to ColorPaletteType.Standard, which indicates the standard 140 color standard palette (also found in System.Drawing.Color) will be used. Set this property to ColorPaletteType.WebSafe to use the 216 color web-safe palette. If bandwidth or rendering time is an issue, set this property to ColorPaletteType.Condensed to get a condensed 40 color palette.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
HtmlBox Class | HtmlBox Members
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.