See Also

HtmlBox Class  | HtmlBox Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerWEB TextBox for ASP.NET

ButtonMode Property

Dart.PowerWEB.TextBox Namespace > HtmlBox Class : ButtonMode Property (HtmlBox)

Gets or sets ButtonMode value specifying the current mode of the toolbar buttons.

[Visual Basic]
<DefaultValueAttribute()> <DescriptionAttribute("Controls the how buttons are represented, Either images or HTML buttons")> <CategoryAttribute("Appearance")> Public Property ButtonMode As ButtonMode
[C#]
[DefaultValueAttribute()] [DescriptionAttribute("Controls the how buttons are represented, Either images or HTML buttons")] [CategoryAttribute("Appearance")] public ButtonMode ButtonMode {get; set;}
[C++]
[DefaultValueAttribute()] [DescriptionAttribute("Controls the how buttons are represented, Either images or HTML buttons")] [CategoryAttribute("Appearance")] public: __property ButtonMode get_ButtonMode(); public: __property void set_ButtonMode(    ButtonMode value );
[C++/CLI]
[DefaultValueAttribute()] [DescriptionAttribute("Controls the how buttons are represented, Either images or HTML buttons")] [CategoryAttribute("Appearance")] public: property ButtonMode ButtonMode {    ButtonMode get();    void set (ButtonMode value); }

Return Type

A ButtonMode value specifying the current mode of the toolbar buttons. The default value is ButtonMode.Image.

Remarks

By default this property is ButtonMode.Image, which specifies that a single image will represent each button and mouse-effects will be applied using DHTML (see the HtmlBox.ButtonStyle property for more information on this). If you would like to use such highly-graphical button representations such as mouse-over image swaps set this property to either ButtonMode.TwoStateImage (which specifies that there will be two images for each button, an "off" image and a "clicked" image) or ButtonMode.ThreeStateImage (which specifies that there will be three images for each button, an "off", an "over", and a "click" image). One of these two types will typically be used in skin implementations (see Using Skins) for more information. If you would like to remove images from the toolbar buttons altogether, set this property to ButtonMode.HTML and HTML input buttons will be used to represent the toolbar buttons.

Some image-name related properties will not have meaning depending on the button mode. For example:

ButtonMode.HTML

ButtonMode.Image

ButtonMode.TwoStateImage

ButtonMode.TwoStateImage

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

HtmlBox Class  | HtmlBox Members


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.