DataGrid.HorizontalScrollBarVisibility Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

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: