mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-04 05:35:44 +00:00
33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Radzen;
|
|
|
|
/// <summary>
|
|
/// Supplies information about a <see cref="Radzen.Blazor.RadzenDataGrid{TItem}" /> event that is being raised.
|
|
/// </summary>
|
|
/// <typeparam name="T">The data item type.</typeparam>
|
|
public class RowRenderEventArgs<T>
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the row HTML attributes. They will apply to the table row (tr) element which RadzenDataGrid renders for every row.
|
|
/// </summary>
|
|
public IDictionary<string, object> Attributes { get; private set; } = new Dictionary<string, object>();
|
|
|
|
/// <summary>
|
|
/// Gets the data item which the current row represents.
|
|
/// </summary>
|
|
public T? Data { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether this row is expandable.
|
|
/// </summary>
|
|
/// <value><c>true</c> if expandable; otherwise, <c>false</c>.</value>
|
|
public bool Expandable { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating row index.
|
|
/// </summary>
|
|
public int Index { get; set; }
|
|
}
|
|
|