windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-7b80468e.md
Provides access to options specific to scrollbar annotations.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DXCategory("Options")]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden, XtraSerializationFlags.DefaultValue)]
public GridOptionsScrollAnnotations OptionsScrollAnnotations { get; }
<DXCategory("Options")>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden, XtraSerializationFlags.DefaultValue)>
Public ReadOnly Property OptionsScrollAnnotations As GridOptionsScrollAnnotations
| Type | Description |
|---|---|
| DevExpress.XtraGrid.Views.Grid.GridOptionsScrollAnnotations |
A DevExpress.XtraGrid.Views.Grid.GridOptionsScrollAnnotations object specifying options specific to scrollbar annotations.
|
The GridView.OptionsScrollAnnotations property provides access to options that allow you to enable/disable specific annotations.
Scrollbar annotations are disabled if the corresponding property is set to Default. You should explicitly set the options to True to enable the required scrollbar annotations.
// Enable annotations for the focused row.
gridView.OptionsScrollAnnotations.ShowFocusedRow = DefaultBoolean.True;
' Enable annotations for the focused row.
gridView.OptionsScrollAnnotations.ShowFocusedRow = DefaultBoolean.True
Scrollbar annotations have the following limitations:
See Also