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






Gets or sets the selected items

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property SelectedItems As INotifyCollectionChanged
Visual Basic (Usage)Copy Code
Dim instance As UXMultipleSelectionComboBox
Dim value As INotifyCollectionChanged
 
instance.SelectedItems = value
 
value = instance.SelectedItems
C# 
[CategoryAttribute("Common Properties")]
public INotifyCollectionChanged SelectedItems {get; set;}
Delphi 
public read-write property SelectedItems: INotifyCollectionChanged; 
JScript 
CategoryAttribute("Common Properties")
public function get,set SelectedItems : INotifyCollectionChanged
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property INotifyCollectionChanged* get_SelectedItems();
public: __property void set_SelectedItems( 
   INotifyCollectionChanged* value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property INotifyCollectionChanged^ SelectedItems {
   INotifyCollectionChanged^ get();
   void set (    INotifyCollectionChanged^ value);
}

Remarks

The collection of data that has been selected will be assigned to the SelectedItems property. To get the selected items collection or initialize the selected items, you can easily bind the property from your ViewModel to the SelectedItems property of UXMultipleSelectionComboBox. For more details on how to initialize selected items, see How to Initialize Selected Items in UXMultipleSelectionComboBox.

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.