PropertyGridControl.ScrollVisibility Property
Gets or sets a value that specifies the availability of the vertical scroll bar.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.1.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.