Редагувати

Поділитися через


WebPartMenuStyle.HorizontalAlign Property

Definition

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

public:
 virtual property System::Web::UI::WebControls::HorizontalAlign HorizontalAlign { System::Web::UI::WebControls::HorizontalAlign get(); void set(System::Web::UI::WebControls::HorizontalAlign value); };
[System.ComponentModel.Browsable(false)]
public override System.Web.UI.WebControls.HorizontalAlign HorizontalAlign { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.HorizontalAlign : System.Web.UI.WebControls.HorizontalAlign with get, set
Public Overrides Property HorizontalAlign As HorizontalAlign

Property Value

A HorizontalAlign enumeration value that specifies what type of alignment to use. The default value is obtained from the base HorizontalAlign property value.

Attributes

Remarks

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.

Applies to

See also