Class GridUnboundRowEventsArgs
Provides data for QueryUnboundRow event.
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GridUnboundRowEventsArgs : GridHandledEventArgs
Properties
CellTemplate
Gets or sets the Microsoft.UI.Xaml.DataTemplate that is used to display the contents of GridUnboundRowCell is in display mode.
Declaration
public DataTemplate CellTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DataTemplate | The template that is used to display the contents of unbound cell that is not in editing mode. |
CellType
Gets or sets the cell type associated with UnboundRowCellRenderers for GridUnboundRowCell.
Declaration
public string CellType { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies the cell type of unbound cell. |
Remarks
SfDataGrid allows to add custom cell types by adding associated renderer in UnboundRowCellRenderers.
Column
Gets the GridColumn of the GridUnboundRowCell triggers this event.
Declaration
public GridColumn Column { get; }
Property Value
Type |
---|
GridColumn |
EditTemplate
Gets or sets the Microsoft.UI.Xaml.DataTemplate that is used to display the contents of GridUnboundRowCell is in editing mode.
Declaration
public DataTemplate EditTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DataTemplate | The template that is used to display the contents of unbound cell that is in editing mode. |
GridUnboundRow
Gets the associated GridUnboundRow of the cell triggered event.
Declaration
public GridUnboundRow GridUnboundRow { get; }
Property Value
Type |
---|
GridUnboundRow |
RowColumnIndex
Gets or sets the RowColumnIndex of GridUnboundRowCell which triggers this event.
Declaration
public RowColumnIndex RowColumnIndex { get; set; }
Property Value
Type | Description |
---|---|
RowColumnIndex | The RowColumnIndex of the unbound cell which triggers this event. |
UnboundAction
Gets the constants that specifies the actions for triggering the QueryUnboundRow event.
Declaration
public UnboundActions UnboundAction { get; }
Property Value
Type | Description |
---|---|
UnboundActions | The UnboundActions which triggered this event. |
Remarks
The UnboundAction – QueryData denotes, the event is raised to get or query the value and settings for cell. The UnboundAction - CommitData denotes, the event is raised to notify or commit the edited value.
Value
Gets or sets the value for the cell in GridUnboundRow based on UnboundAction .
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object that contains the value for the unbound cell. |