Dart.PowerWEB.TextBox Namespace > HtmlBox Class : LayoutType Property (HtmlBox) |
Gets or sets the current LayoutType of the HtmlBox.
[Visual Basic]
<CategoryAttribute("Appearance")>
<DescriptionAttribute("Controls the layout of the HtmlBox.")>
<DefaultValueAttribute()>
Public Property LayoutType As LayoutType
[C#]
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Controls the layout of the HtmlBox.")]
[DefaultValueAttribute()]
public LayoutType LayoutType {get; set;}
[C++]
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Controls the layout of the HtmlBox.")]
[DefaultValueAttribute()]
public: __property LayoutType get_LayoutType();
public: __property void set_LayoutType(
LayoutType value
);
[C++/CLI]
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Controls the layout of the HtmlBox.")]
[DefaultValueAttribute()]
public:
property LayoutType LayoutType {
LayoutType get();
void set (LayoutType value);
}
A LayoutType value specifying the type of layout for the HtmlBox. The default type is LayoutType.Standard.
The HtmlBox can be rendered multiple ways depending on the scenario. LayoutType.Standard renders a standard editor. LayoutType.Condensed renders a condensed editor (good for low-bandwidth scenarios). LayoutType.Skin renders a editor optimized for displaying graphical skins. NOTE! Changing from one layout type to another WILL change some property values. For example, if you are using the LayoutType.Standard layout, change the HtmlBox.BackColor to red, then change the HtmlBox.LayoutType to LayoutType.Skin, that property will be nulled out. For this reason, it is suggested that you always change the HtmlBox.LayoutType FIRST, before making other changes, to eliminate any chances of a property being overwritten.
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.