Dart.PowerWEB.TextBox Namespace > HtmlBox Class : DialogStyle Property (HtmlBox) |
Gets or sets a DialogStyle object representing the style that will be applied to all HtmlBoxDialog controls used by the HtmlBox.
[Visual Basic]
<DescriptionAttribute("Enables configuration of all HtmlBoxDialog styles at once")>
<CategoryAttribute("Appearance")>
<DesignerSerializationVisibilityAttribute()>
Public Property DialogStyle As DialogStyle
[C#]
[DescriptionAttribute("Enables configuration of all HtmlBoxDialog styles at once")]
[CategoryAttribute("Appearance")]
[DesignerSerializationVisibilityAttribute()]
public DialogStyle DialogStyle {get; set;}
[C++]
[DescriptionAttribute("Enables configuration of all HtmlBoxDialog styles at once")]
[CategoryAttribute("Appearance")]
[DesignerSerializationVisibilityAttribute()]
public: __property DialogStyle* get_DialogStyle();
public: __property void set_DialogStyle(
DialogStyle* value
);
[C++/CLI]
[DescriptionAttribute("Enables configuration of all HtmlBoxDialog styles at once")]
[CategoryAttribute("Appearance")]
[DesignerSerializationVisibilityAttribute()]
public:
property DialogStyle^ DialogStyle {
DialogStyle^ get();
void set (DialogStyle^ value);
}
A DialogStyle object representing the styles of all dialogs.
Use this object to globally apply styles to all dialogs at once. For example, setting DialogStyle.TitlebarBackColor to Color.Blue will cause all of the dialogs to have a blue titlebar.
If you would one (or many) dialogs to have a different style than the rest, you can set the style properties on the dialog 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.