Class GridUnBoundRowEventsArgs
Provides data for the QueryUnBoundRow event.
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class GridUnBoundRowEventsArgs : GridHandledEventArgs
Remarks
Use this event to query or commit values for cells in an unbound row.
Properties
CellTemplate
Gets or sets the System.Windows.DataTemplate that is used to display the contents of the GridUnBoundRowCell in display mode.
Declaration
public DataTemplate CellTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.DataTemplate | The template that is used to display the contents of the unbound cell when it 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 the unbound cell. |
Remarks
SfDataGrid allows custom cell types by adding an associated renderer in UnBoundRowCellRenderers.
Column
Gets the GridColumn of the GridUnBoundRowCell that triggers this event.
Declaration
public GridColumn Column { get; }
Property Value
| Type |
|---|
| GridColumn |
EditTemplate
Gets or sets the System.Windows.DataTemplate that is used to display the contents of the GridUnBoundRowCell in editing mode.
Declaration
public DataTemplate EditTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.DataTemplate | The template that is used to display the contents of the unbound cell when it 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 the GridUnBoundRowCell that triggers this event.
Declaration
public RowColumnIndex RowColumnIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| RowColumnIndex | The RowColumnIndex of the unbound cell that triggers this event. |
UnBoundAction
Gets the constants that specify the actions for triggering the QueryUnboundRow event.
Declaration
public UnBoundActions UnBoundAction { get; }
Property Value
| Type | Description |
|---|---|
| UnBoundActions | The UnBoundActions that triggered this event. |
Remarks
QueryData indicates that the event is raised to get or query the value and settings for a cell.
CommitData indicates that 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. |