編輯

共用方式為


ScrollViewer.HorizontalScrollBarVisibility Property

Definition

Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.

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

Property Value

A ScrollBarVisibility value that indicates whether a horizontal ScrollBar should be displayed. The default is Hidden.

Attributes

Remarks

This property also has an attached property usage.

Dependency Property Information

Identifier field HorizontalScrollBarVisibilityProperty
Metadata properties set to true AffectsMeasure

Applies to