Dart.PowerWEB.TextBox Namespace > HtmlBox Class : MenuStyle Property (HtmlBox) |
Gets a MenuStyle object representing the style that will be applied to all HtmlBoxMenu controls used by the HtmlBox.
[Visual Basic]
<CategoryAttribute("Appearance")>
<DescriptionAttribute("Enables configuration of all HtmlBoxMenu styles at once")>
<DesignerSerializationVisibilityAttribute()>
Public Property MenuStyle As MenuStyle
[C#]
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Enables configuration of all HtmlBoxMenu styles at once")]
[DesignerSerializationVisibilityAttribute()]
public MenuStyle MenuStyle {get; set;}
[C++]
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Enables configuration of all HtmlBoxMenu styles at once")]
[DesignerSerializationVisibilityAttribute()]
public: __property MenuStyle* get_MenuStyle();
public: __property void set_MenuStyle(
MenuStyle* value
);
[C++/CLI]
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Enables configuration of all HtmlBoxMenu styles at once")]
[DesignerSerializationVisibilityAttribute()]
public:
property MenuStyle^ MenuStyle {
MenuStyle^ get();
void set (MenuStyle^ value);
}
A MenuStyle object representing the styles of all dialogs.
Use this object to globally apply styles to all menus at once. For example, setting MenuStyle.BackColor to Color.Blue will cause all of the menus to have a blue background.
If you would one (or many) menus to have a different style than the rest, you can set the style properties on the menu level instead of using this global style mechanism.
For default values of this property, see the HtmlBox constructor topic.
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.