Skip to main content

TableView.ScrollBarCustomRowAnnotation Event

Allows creating a new scrollbar annotation based on data row values and a row handle.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public event EventHandler<ScrollBarCustomRowAnnotationEventArgs> ScrollBarCustomRowAnnotation

Event Data

The ScrollBarCustomRowAnnotation event's data class is ScrollBarCustomRowAnnotationEventArgs. The following properties provide information specific to this event:

Property Description
Row Returns a data source object that corresponds to a data row for which an event has been raised.
RowHandle Gets the handle of a row, for which an event has been raised.
ScrollBarAnnotationInfo Gets or sets the information about the layout and appearance of custom scrollbar annotation marks.

Remarks

Use the ScrollBarCustomRowAnnotation event to create a new scrollbar annotation based on a row value (available via the ScrollBarCustomRowAnnotationEventArgs.Row property) and a row handle (available via the ScrollBarCustomRowAnnotationEventArgs.RowHandle property). You can define the appearance of scrollbar annotation marks using the ScrollBarCustomRowAnnotationEventArgs.ScrollBarAnnotationInfo property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ScrollBarCustomRowAnnotation event.

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