wpf-devexpress-dot-xpf-dot-grid-dcee7884.md
List values that specify the scrollbar annotation modes.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
[Flags]
public enum ScrollBarAnnotationMode
<Flags>
Public Enum ScrollBarAnnotationMode
| 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.
|
The following properties accept/return ScrollBarAnnotationMode values:
The values listed by this enumeration are used to set the TableView.ScrollBarAnnotationMode and TreeListView.ScrollBarAnnotationMode property value.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ScrollBarAnnotationMode enum.
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.
wpf-grid-scrollbar-annotations/CS/WpfApplication25/MainWindow.xaml#L44
<dxmvvm:Interaction.Behaviors>
<dxmvvm:EnumItemsSourceBehavior EnumType="{x:Type dxg:ScrollBarAnnotationMode}" SortMode="DisplayName"/>
</dxmvvm:Interaction.Behaviors>
See Also