Back to Devexpress

ScrollBarAnnotationMode Enum

wpf-devexpress-dot-xpf-dot-grid-dcee7884.md

latest2.7 KB
Original Source

ScrollBarAnnotationMode Enum

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

Declaration

csharp
[Flags]
public enum ScrollBarAnnotationMode
vb
<Flags>
Public Enum ScrollBarAnnotationMode

Members

NameDescription
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:

Remarks

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

xml
<dxmvvm:Interaction.Behaviors>
    <dxmvvm:EnumItemsSourceBehavior EnumType="{x:Type dxg:ScrollBarAnnotationMode}" SortMode="DisplayName"/>
</dxmvvm:Interaction.Behaviors>

See Also

DevExpress.Xpf.Grid Namespace