Skip to main content

TreeListView.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.2.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 row values (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.

See Also