Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
Silverlight
Available since 2.0
Return to top
Show:
© 2017 Microsoft