TextBoxBase.VerticalScrollBarVisibility TextBoxBase.VerticalScrollBarVisibility TextBoxBase.VerticalScrollBarVisibility TextBoxBase.VerticalScrollBarVisibility Property

定义

获取或设置一个值,该值指示是否显示垂直滚动条。Gets or sets a value that indicates whether a vertical scroll bar is shown.

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

属性值

ScrollBarVisibility 枚举定义的值。A value that is defined by the ScrollBarVisibility enumeration.

默认值为 HiddenThe default value is Hidden.

注解

依赖项属性信息Dependency Property Information

标识符字段Identifier field VerticalScrollBarVisibilityProperty
元数据属性设置为trueMetadata properties set to true AffectsMeasure

适用于

另请参阅