VerticalScrollBarVisibility Property
Collapse the table of content
Expand the table of content

DataGrid.VerticalScrollBarVisibility Property


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

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

public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }

Property Value

Type: System.Windows.Controls.ScrollBarVisibility

One of the enumeration values that specifies the visibility of vertical 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