ScrollViewer.VerticalScrollBarVisibility 属性

定义

获取或设置一个值,该值指示是否应显示垂直 ScrollBar

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

属性值

一个 ScrollBarVisibility 值,该值指示是否应显示垂直 ScrollBar。 默认值为 Visible

属性

注解

依赖项属性信息

标识符字段 VerticalScrollBarVisibilityProperty
元数据属性设置为 true AffectsMeasure

适用于

另请参阅