Intersoft ClientUI Documentation
SelectedItem Property (UXGridView)



Gets or sets the data item corresponding to the selected row.
Syntax
<CategoryAttribute("Common Properties")>
Public Property SelectedItem As Object
Dim instance As UXGridView
Dim value As Object
 
instance.SelectedItem = value
 
value = instance.SelectedItem
[CategoryAttribute("Common Properties")]
public object SelectedItem {get; set;}
[CategoryAttribute("Common Properties")]
public:
property Object^ SelectedItem {
   Object^ get();
   void set (    Object^ value);
}
Remarks

UXGridView has three type of SelectionMode that you can choose from.

When a row is selected, the SelectedItem and SelectedItems property will be automatically synchronized. You can bind these properties to your ViewModel to capture the currently selected items.

Furthermore, you can also customize the SelectionUnit to one of the possible three values: Row, Cell or RowAndCell.

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

UXGridView Class
UXGridView Members

Send Feedback