HorizontalScrollBarVisibility Property
Collapse the table of content
Expand the table of content

DataGrid.HorizontalScrollBarVisibility Property


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)

public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }

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
© 2015 Microsoft