wpf-devexpress-dot-xpf-dot-grid-dot-scrollbarcustomrowannotationeventargs.md
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
public object Row { get; }
Public ReadOnly Property Row As Object
| Type | Description |
|---|---|
| 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
{
TestData data = e.Row as TestData;
if (data == null) return;
wpf-grid-scrollbar-annotations/VB/WpfApplication25/MainWindow.xaml.vb#L31
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