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

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.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

#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