WebPartMenuStyle.HorizontalAlign Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應