WebPartMenuStyle::HorizontalAlign Property
.NET Framework (current version)
Gets a value indicating what type of horizontal alignment to use for the content of a menu on a WebPart control.
Assembly: System.Web (in System.Web.dll)
public: [BrowsableAttribute(false)] property HorizontalAlign HorizontalAlign { virtual HorizontalAlign get() override; virtual void set(HorizontalAlign value) override; }
Property Value
Type: System.Web.UI.WebControls::HorizontalAlignA HorizontalAlign enumeration value that specifies what type of alignment to use. The default value is obtained from the base TableStyle::HorizontalAlign property value.
The HorizontalAlign property overrides the base property to prevent the alignment from being set, and to add some attributes to the property. The property gets its value from the base TableStyle::HorizontalAlign property value, but does not provide any implementation for the setter, so you cannot set the alignment of the menu content by using this property.
.NET Framework
Available since 2.0
Available since 2.0
Show: