Slider.AutoToolTipPlacement 속성

정의

Thumb을 누르면 Slider의 현재 값이 들어 있는 도구 설명을 표시할지 여부를 가져오거나 설정합니다. 도구 설명이 표시되면 이 속성은 도구 설명의 위치도 지정합니다.

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

속성 값

AutoToolTipPlacement

SliderThumb을 기준으로 도구 설명을 표시할 위치를 결정하거나 도구 설명이 표시되지 않도록 지정하는 AutoToolTipPlacement 값 중 하나입니다. 기본값은 None이며, 도구 설명이 표시되지 않도록 지정합니다.

특성

예제

다음 예제에서는 설정 하는 방법에 설명 합니다 AutoToolTipPlacement 속성입니다.

Slider hslider = new Slider();
hslider.Width = 100;
hslider.Orientation = Orientation.Horizontal;
hslider.IsSnapToTickEnabled = true;
hslider.Minimum = 1;
hslider.Maximum = 20;
hslider.TickPlacement = TickPlacement.Both;
hslider.TickFrequency = 2;
hslider.AutoToolTipPlacement =
  AutoToolTipPlacement.BottomRight;
cv1.Children.Add(hslider);
Dim hslider As New Slider()
hslider.Width = 100
hslider.Orientation = Orientation.Horizontal
hslider.IsSnapToTickEnabled = True
hslider.Minimum = 1
hslider.Maximum = 20
hslider.TickPlacement = TickPlacement.Both
hslider.TickFrequency = 2
hslider.AutoToolTipPlacement = AutoToolTipPlacement.BottomRight
cv1.Children.Add(hslider)
<Slider Name="slider1" 
        Width="100" 
        Orientation="Horizontal" HorizontalAlignment="Left" 
        IsSnapToTickEnabled="True" Minimum="1" Maximum="20" 
        TickPlacement="Both"  TickFrequency="2"
        AutoToolTipPlacement="BottomRight"/>

설명

종속성 속성 정보

식별자 필드 AutoToolTipPlacementProperty
메타 데이터 속성 설정 true 없음

적용 대상