Class GridUnBoundRow
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridUnBoundRow : DependencyObject, INotifyDependencyPropertyChanged
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 Syncfusion.UI.Xaml.Grid.GridUnBoundRow.Position dependency property.
Declaration
public static readonly DependencyProperty PositionProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridUnBoundRow.Position dependency property.
ShowBelowSummaryProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUnBoundRow.ShowBelowSummary dependency property.
Declaration
public static readonly DependencyProperty ShowBelowSummaryProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridUnBoundRow.ShowBelowSummary 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
Declaration
public int RowIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ShowBelowSummary
Gets or sets a value that indicates 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
Declaration
public int UnBoundRowIndex { get; }
Property Value
Type | Description |
---|---|
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. |
OnDependencyPropertyChanged(String, DependencyPropertyChangedEventArgs)
Invoked whenever the value of any dependency property in the UnBoundRow has been updated.
Declaration
public void OnDependencyPropertyChanged(string propertyName, DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The property name that has changed in UnBoundRow. |
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | e |