Class GridUnboundRow
Represents the UnboundRow which used to display additional rows which are not bound to data source in SfDataGrid.
Inheritance
Implements
Namespace: Syncfusion.SfDataGrid.XForms
Assembly: Syncfusion.SfDataGrid.XForms.dll
Syntax
public class GridUnboundRow : BindableObject, IDisposable
Remarks
SfDataGrid allows you to add additional rows at the top and also bottom of the SfDataGrid which are not bound with data object from underlying data source. You can add unbound rows using SfDataGrid.UnboundRows collection property. You can add any no of unbound rows to SfDataGrid.
Constructors
GridUnboundRow()
Declaration
public GridUnboundRow()
Fields
PositionProperty
Identifies the Position dependency property.
Declaration
public static readonly BindableProperty PositionProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
The identifier for the Position dependency property.
Properties
Position
Gets or sets a value that indicates whether the GridUnboundRow is positioned at either top or bottom of SfDataGrid.
Declaration
public UnboundRowsPosition Position { get; set; }
Property Value
Type | Description |
---|---|
UnboundRowsPosition | One of the UnboundRowsPosition enumeration that specifies the position of GridUnboundRow in SfDataGrid. The default value is Top . |
RowIndex
Gets the row index of the UnboundRow.
Declaration
public int RowIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The corresponding row index of UnboundRow. |
UnboundRowIndex
Gets the index of UnboundRow from the GridUnboundRow collection.
Declaration
public int UnboundRowIndex { get; }
Property Value
Type |
---|
System.Int32 |
Methods
Dispose()
Releases all the resources used by the GridUnboundRow class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the GridUnboundRow class.
Declaration
protected virtual void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | Indicates whether the call is from Dispose method. |