Class GridUnboundRow
Represents the class which used to display additional rows which are not bound to data source.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class GridUnboundRow : 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()
Properties
Position
Gets or sets a value that indicates whether the GridUnboundRow is positioned at either top or bottom of SfDataGrid.
Declaration
public VerticalPosition Position { get; set; }
Property Value
Type | Description |
---|---|
VerticalPosition | One of the |
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. |
ShowBelowSummary
Gets or sets a value indicating whether the GridUnboundRow should be displayed above or below the TableSummaryRow.
Declaration
public bool ShowBelowSummary { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the UnboundRow is displayed below the TableSummaryRow; otherwise, false. The default value is true. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | When you change the placement of UnboundRow at run time. |
UnboundRowIndex
Gets the index of unbound row from the UnboundRows 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 or from a finalizer. |
ToString()
Overriden to return the string representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Returns the string respresentation of the object. |