共用方式為


DataGridHeaderBorder.Orientation 屬性

定義

取得或設定值,這個值指出標題是以垂直方向呈現 (如欄標題),或是以水平方向呈現 (如列標題)。

public:
 property System::Windows::Controls::Orientation Orientation { System::Windows::Controls::Orientation get(); void set(System::Windows::Controls::Orientation value); };
public System.Windows.Controls.Orientation Orientation { get; set; }
member this.Orientation : System.Windows.Controls.Orientation with get, set
Public Property Orientation As Orientation

屬性值

一個列舉值,指出標題呈現的方向。 已註冊的預設值是 Vertical。 如需哪些因素會影響值的詳細資訊,請參閱 DependencyProperty

適用於