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

ButtonStyle Property

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

Gets a ButtonStyle object representing the style that will be applied to all classes derived from BaseToolbarButton on the toolbar.

[Visual Basic]
<DescriptionAttribute("Enables configuration of all ToolbarButton styles at once")> <DesignerSerializationVisibilityAttribute()> <CategoryAttribute("Appearance")> Public Property ButtonStyle As ButtonStyle
[C#]
[DescriptionAttribute("Enables configuration of all ToolbarButton styles at once")] [DesignerSerializationVisibilityAttribute()] [CategoryAttribute("Appearance")] public ButtonStyle ButtonStyle {get; set;}
[C++]
[DescriptionAttribute("Enables configuration of all ToolbarButton styles at once")] [DesignerSerializationVisibilityAttribute()] [CategoryAttribute("Appearance")] public: __property ButtonStyle* get_ButtonStyle(); public: __property void set_ButtonStyle(    ButtonStyle* value );
[C++/CLI]
[DescriptionAttribute("Enables configuration of all ToolbarButton styles at once")] [DesignerSerializationVisibilityAttribute()] [CategoryAttribute("Appearance")] public: property ButtonStyle^ ButtonStyle {    ButtonStyle^ get();    void set (ButtonStyle^ value); }

Return Type

A ButtonStyle object representing the styles of all buttons.

Remarks

Use this object to globally apply styles to all buttons at once. For example, setting ButtonStyle.BackColor to Color.Red will cause all of the buttons to have a red background.

If HtmlBox.ButtonMode is ButtonMode.Image (the default), the HtmlBox.ButtonStyle property can be used to apply visual "mouse effects" to buttons. For example, setting ButtonStyle.MouseOverBackColor to Color.Blue will cause all of the buttons to turn blue when the mouse is placed over them.

If you would one (or many) buttons to have a different style than the rest, you can set the style properties on the button level instead of using this global style mechanism.

For default values of this property, see the HtmlBox constructor topic.

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.