RowEventArgs<TRow> Class
Definition
Provides strongly typed event data for row-related events in a TreeDataGrid.
public class RowEventArgs<TRow>
Remarks
The Avalonia.Controls.Models.TreeDataGrid.RowEventArgs<T> class extends Avalonia.Controls.Models.TreeDataGrid.RowEventArgs to provide type-specific access to the row involved in an event. This allows event handlers to work with the concrete row type without casting.
Constructors
| Name | Description |
|---|---|
| RowEventArgs<TRow> | Initializes a new instance of the Avalonia.Controls.Models.TreeDataGrid.RowEventArgs<T> class with the specified row. |
RowEventArgs<TRow> Constructor
Initializes a new instance of the Avalonia.Controls.Models.TreeDataGrid.RowEventArgs<T> class with the specified row.
public RowEventArgs<TRow>(TRow row)
Parameters
row TRow
The row instance to associate with the event arguments.
Methods
| Name | Description |
|---|---|
| Create | Inherited from RowEventArgs. |
Properties
| Name | Description |
|---|---|
| Row | Gets the row associated with this event. |
Row Property
Gets the row associated with this event.
public TRow Row { get; set; }
Value
A TRow instance representing the row involved in the event.
Remarks
This property hides the base Avalonia.Controls.Models.TreeDataGrid.RowEventArgs.Row property to provide strongly-typed access to the row.