DataGrid.HorizontalScrollBarVisibility Property

Definition

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

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

Property Value

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

Applies to