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

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