DataGrid::HorizontalScrollBarVisibility Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

property ScrollBarVisibility HorizontalScrollBarVisibility {
	ScrollBarVisibility get();
	void set(ScrollBarVisibility value);

Property Value

Type: System.Windows.Controls::ScrollBarVisibility

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.

.NET Framework
Available since 4.0
Available since 2.0
Return to top