Back to Devexpress

TreeListView.ScrollBarCustomRowAnnotation Event

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-44fcfab3.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public event EventHandler<ScrollBarCustomRowAnnotationEventArgs> ScrollBarCustomRowAnnotation
vb
Public Event ScrollBarCustomRowAnnotation As EventHandler(Of ScrollBarCustomRowAnnotationEventArgs)

Event Data

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

PropertyDescription
RowReturns a data source object that corresponds to a data row for which an event has been raised.
RowHandleGets the handle of a row, for which an event has been raised.
ScrollBarAnnotationInfoGets 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

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace