Class GridViewNewRowInfo
Represents a row that enables adding of new rows in RadGridView.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewNewRowInfo : GridViewSystemRowInfo, IDataItem, IHierarchicalRow, INotifyPropertyChanged, INotifyPropertyChangingEx, IDisposable, IComparable<GridViewSystemRowInfo>
Constructors
GridViewNewRowInfo(GridViewInfo)
Initializes a new instance of the GridViewNewRowInfo.
Declaration
public GridViewNewRowInfo(GridViewInfo gridViewInfo)
Parameters
GridViewInfo
gridViewInfo
An instance of GridViewInfo which the current row belongs to. |
Properties
AllowedStates
Gets the allowed states.
Declaration
public override AllowedGridViewRowInfoStates AllowedStates { get; }
Property Value
AllowedGridViewRowInfoStates
The allowed states. |
Overrides
DataBoundItem
Gets the data-bound object that populated the row.
Declaration
public override object DataBoundItem { get; }
Property Value
System.Object
|
Overrides
RowElementType
Gets the type of the GridRowElement for current GridViewRowInfo.
Declaration
public override Type RowElementType { get; }
Property Value
System.Type
|
Overrides
Methods
CancelAddNewRow()
Cancels the adding of the new row.
Declaration
public void CancelAddNewRow()
CompareToSystemRowInfo(GridViewSystemRowInfo)
Compares to system row info.
Declaration
protected override int CompareToSystemRowInfo(GridViewSystemRowInfo row)
Parameters
GridViewSystemRowInfo
row
The row. |
Returns
System.Int32
|
Overrides
EndAddNewRow()
Finishes the adding of the new row.
Declaration
public GridViewRowInfo EndAddNewRow()
Returns
GridViewRowInfo
Returns true if successfull. |
InitializeNewRow()
Starts the row adding process.
Declaration
public void InitializeNewRow()
OnBeginEdit()
Called when the edit operation begins.
Declaration
protected override bool OnBeginEdit()
Returns
System.Boolean
|
Overrides
OnEndEdit()
Called when the edit operation ends.
Declaration
protected override bool OnEndEdit()
Returns
System.Boolean
|
Overrides
OnPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
|