Class UnboundRows
Represents the collection of GridUnboundRow which used to display additional rows which are not bound to data source in SfDataGrid.
Inheritance
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class UnboundRows : ObservableCollection<GridUnboundRow>
Constructors
UnboundRows()
Declaration
public UnboundRows()
Properties
BottomBodyUnboundRowCount
Gets or sets BottomBodyUnboundRowCount.
Declaration
public int BottomBodyUnboundRowCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer that specifies the count of the bottom body unbound rows. The default value is 0. |
FooterUnboundRowCount
Gets or sets the FooterUnboundRowCount.
Declaration
public int FooterUnboundRowCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer that specifies the count of the Footer unbound rows. The default value is 0. |
FrozenUnboundRowCount
Gets or sets the FrozenUnboundRowCount.
Declaration
public int FrozenUnboundRowCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer that specifies the count of the frozen unbound rows. The default value is 0. |
TopBodyUnboundRowCount
Gets or sets the TopBodyUnboundRowCount.
Declaration
public int TopBodyUnboundRowCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer that specifies the count of the top body unbound rows. The default value is 0. |
Methods
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Occurs when the collection of unbound rows changed.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | The System.Collections.Specialized.NotifyCollectionChangedEventArgs that contains event data. |