Skip to main content

TableView.ScrollBarAnnotationMode Property

Gets or sets the type of annotations displayed within the view’s scrollbar.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public ScrollBarAnnotationMode? ScrollBarAnnotationMode { get; set; }

Property Value

Type Description
Nullable<ScrollBarAnnotationMode>

A ScrollBarAnnotationMode flag that is the type of scrollbar annotations applied to the TableView.

Available values:

Name Description
None

Scrollbar annotations are disabled.

InvalidRows

GridControl marks invalid rows.

InvalidCells

GridControl marks invalid cells.

Selected

GridControl marks selected rows.

SearchResult

GridControl marks search results.

Custom

GridControl marks rows that fit custom criteria.

FocusedRow

GridControl marks a focused row.

All

All available scrollbar annotations are enabled.

Remarks

Set the ScrollBarAnnotationMode property to SearchResult / All and set the DataViewBase.SearchPanelAllowFilter property to false to display scrollbar annotations for search results.

Refer to the following help topic for more information: Scrollbar Annotations.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ScrollBarAnnotationMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also