HorizontalAlign Property
Collapse the table of content
Expand the table of content

WebPartMenuStyle.HorizontalAlign Property

 

Gets a value indicating what type of horizontal alignment to use for the content of a menu on a WebPart control.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

<BrowsableAttribute(False)>
Public Overrides Property HorizontalAlign As HorizontalAlign

Property Value

Type: System.Web.UI.WebControls.HorizontalAlign

A 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
Return to top
Show:
© 2016 Microsoft