Class GridUnBoundRowEventsArgs
Provides data for QueryUnBoundRow event.
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class GridUnBoundRowEventsArgs : GridHandledEventArgs
Properties
CellTemplate
Gets or sets the
Declaration
public DataTemplate CellTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.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
Declaration
public DataTemplate EditTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.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. |