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






Gets or sets a value that indicates whether the user can edit rows.

Syntax

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

Remarks

Data editing in UXGridView involves three fundamental processes, Create, Update and Delete (CUD). You can enable each editing feature by setting the property CanUserAddRows, CanUserEditRows and CanUserDeleteRows respectively.

Example Title Copy Code
<Intersoft:UXGridView CanUserAddRows="True" CanUserDeleteRows="True" CanUserEditRows="True"/>

A NewRow element will appear in the top of the UXGridView user interface when you set the CanUserAddRows property to true, such as shown in the following illustration.

In addition, you can also delete and edit the selected item by setting both the CanUserEditRows and CanUserDeleteRows properties 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.