Back to Devexpress

PropertyGridControl.ScrollVisibility Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-propertygridcontrol-6fb69e2c.md

latest2.3 KB
Original Source

PropertyGridControl.ScrollVisibility Property

Gets or sets a value that specifies the availability of the vertical scroll bar.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
[DefaultValue(PGridScrollVisibility.Auto)]
[XtraSerializableProperty]
public PGridScrollVisibility ScrollVisibility { get; set; }
vb
<DefaultValue(PGridScrollVisibility.Auto)>
<XtraSerializableProperty>
Public Property ScrollVisibility As PGridScrollVisibility

Property Value

TypeDefaultDescription
DevExpress.XtraVerticalGrid.PGridScrollVisibilityAuto

A PGridScrollVisibility enumeration value that specifies when the vertical scroll bar should be displayed.

|

Remarks

By default, the PropertyGridControl automatically displays the vertical scroll bar when there is insufficient space to display the entire content. The ScrollVisibility property allows you to specify when the vertical scroll bar should be displayed. The PGridScrollVisibility enumeration provides the following values.

ValueDescription
AutoThe vertical scroll bar is automatically displayed when there is insufficient space to display the entire content. The default behavior.
VerticalThe vertical scroll is always displayed.
NeverThe vertical scroll is never displayed.

The PropertyGridControl does not support the horizontal scroll bar.

See Also

PropertyGridControl Class

PropertyGridControl Members

DevExpress.XtraVerticalGrid Namespace