Back to Devexpress

ScrollBarCustomRowAnnotationEventArgs.Row Property

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

latest2.5 KB
Original Source

ScrollBarCustomRowAnnotationEventArgs.Row Property

Returns a data source object that corresponds to a data row for which an event has been raised.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public object Row { get; }
vb
Public ReadOnly Property Row As Object

Property Value

TypeDescription
Object

An object that corresponds to the processed row.

|

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

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.cs#L31

csharp
{
    TestData data = e.Row as TestData;
    if (data == null) return;

wpf-grid-scrollbar-annotations/VB/WpfApplication25/MainWindow.xaml.vb#L31

vb
Private Sub MyScrollBarCustomRowAnnotationEventHandler(ByVal sender As Object, ByVal e As DevExpress.Xpf.Grid.ScrollBarCustomRowAnnotationEventArgs)
    Dim data As WpfApplication25.TestData = TryCast(e.Row, WpfApplication25.TestData)
    If data Is Nothing Then Return

See Also

ScrollBarCustomRowAnnotationEventArgs Class

ScrollBarCustomRowAnnotationEventArgs Members

DevExpress.Xpf.Grid Namespace