다음을 통해 공유


ScrollBar.Orientation 속성

정의

가로 또는 세로로 표시되는지 여부를 ScrollBar 가져오거나 설정합니다.

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

속성 값

Orientation 가로 또는 세로로 표시되는지 여부를 ScrollBar 정의하는 열거형 값입니다. 기본값은 Vertical입니다.

예제

다음 예제에서는 컨트롤에 Orientation 대 한 속성을 설정 하는 방법을 보여 있습니다 ScrollBar .

myScrollBar.Orientation = Orientation.Horizontal;
myScrollBar.Orientation = Orientation.Horizontal
<ScrollBar Name="myScrollBar" Orientation="Horizontal"/>

설명

종속성 속성 정보

Item 가치
식별자 필드 OrientationProperty
메타데이터 속성이 다음으로 설정됩니다. true 없음

적용 대상

추가 정보