BCGControlBar Library for .NET
IsNewRow Property




Gets or sets a value that indicates whether a row is a "new row".
Syntax
'Declaration
 
Public Property IsNewRow As Boolean
'Usage
 
Dim instance As GridDataRow
Dim value As Boolean
 
instance.IsNewRow = value
 
value = instance.IsNewRow
public bool IsNewRow {get; set;}
public: __property bool get_IsNewRow();
public: __property void set_IsNewRow( 
   bool value
);
public:
property bool IsNewRow {
   bool get();
   void set (    bool value);
}
Remarks
A "new  row" is created by GridControl.AddNewRow and contains default values for all items. This row is used to allow the user to add records to grid control.
Currently AddNewRow is called only from DBGrid if AllowUserToAddRows property is true.
You should add "new row" at the application level for non-databound grids.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridDataRow Class
GridDataRow Members

Send Feedback