編輯

共用方式為


DataGrid.VerticalScrollBarVisibility Property

Definition

Gets or sets a value that indicates how vertical scroll bars are displayed in the DataGrid.

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

Property Value

One of the enumeration values that specifies the visibility of vertical scroll bars in the DataGrid. The registered default is Auto. For more information about what can influence the value, see DependencyProperty.

Applies to