Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PropertyGridControl.ScrollVisibility Property

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

[DefaultValue(PGridScrollVisibility.Auto)]
[XtraSerializableProperty]
public PGridScrollVisibility ScrollVisibility { get; set; }

#Property Value

Type Default Description
DevExpress.XtraVerticalGrid.PGridScrollVisibility Auto

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.

Value Description
Auto The vertical scroll bar is automatically displayed when there is insufficient space to display the entire content. The default behavior.
Vertical The vertical scroll is always displayed.
Never The vertical scroll is never displayed.

The PropertyGridControl does not support the horizontal scroll bar.

See Also