Expander.ExpandDirection プロパティ

定義

Expander コンテンツ ウィンドウの表示方向を取得または設定します。

public:
 property System::Windows::Controls::ExpandDirection ExpandDirection { System::Windows::Controls::ExpandDirection get(); void set(System::Windows::Controls::ExpandDirection value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Controls.ExpandDirection ExpandDirection { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.ExpandDirection : System.Windows.Controls.ExpandDirection with get, set
Public Property ExpandDirection As ExpandDirection

プロパティ値

コンテンツ ウィンドウの表示方向を定義する ExpandDirection 値のいずれか。 既定値は、Down です。

属性

ExpandDirection プロパティを設定する方法を次の例に示します。

myExpanderOpensUp.ExpandDirection = ExpandDirection.Up;
myExpanderOpensUp.ExpandDirection = ExpandDirection.Up
<Expander Name ="myExpanderOpensUp" ExpandDirection="Up" 
          Header ="expanderTitle" Content="expanderContent"/>

注釈

依存プロパティ情報

識別子フィールド ExpandDirectionProperty
に設定されたメタデータ プロパティ true BindsTwoWayByDefault

適用対象

こちらもご覧ください