Intersoft ClientUI Documentation
NewRowPosition Property
See Also  Send Feedback
Intersoft.Client.UI.Data Namespace > UXGridView Class : NewRowPosition Property






Gets or sets a value that determine the position of new row.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Data Editing")>
Public Property NewRowPosition As NewRowPosition
Visual Basic (Usage)Copy Code
Dim instance As UXGridView
Dim value As NewRowPosition
 
instance.NewRowPosition = value
 
value = instance.NewRowPosition
C# 
[CategoryAttribute("Data Editing")]
public NewRowPosition NewRowPosition {get; set;}
Delphi 
public read-write property NewRowPosition: NewRowPosition; 
JScript 
CategoryAttribute("Data Editing")
public function get,set NewRowPosition : NewRowPosition
Managed Extensions for C++ 
[CategoryAttribute("Data Editing")]
public: __property NewRowPosition get_NewRowPosition();
public: __property void set_NewRowPosition( 
   NewRowPosition value
);
C++/CLI 
[CategoryAttribute("Data Editing")]
public:
property NewRowPosition NewRowPosition {
   NewRowPosition get();
   void set (    NewRowPosition value);
}

Remarks

The rows of UXGridView are determined by the number of items specified in items source. If the number of items in items source is less than the available screen estate it will show blank white space.

Setting the EmptyRowsVisibility to Visible enables UXGridView to show empty rows in this blank white space area, to give a better look and feel.

When CanUserAddRows is enabled and EmptyRowsVisibility is set to Visible, you can change the new row position to bottom through NewRowPosition property.

Note that some features are not compatible when CanUserAddRows is enabled and EmptyRowsVisibility is set to Visible such as paging and grouping.

The following are several ways to enter edit mode when the new row position is set to Bottom:

  • Press down key on last row.
  • Press tab key on last column of the last row.
  • Double click on any empty rows when EnterNewRowOnClick is set to False.
  • Click on any on any empty rows when EnterNewRowOnClick is set to True.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.