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






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

Syntax

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