LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

Selected Property






Gets or sets a value indicating whether this RasterImageListItem is selected.
Syntax
public bool Selected {get; set;}
'Declaration
 
Public Property Selected As Boolean
'Usage
 
Dim instance As RasterImageListItem
Dim value As Boolean
 
instance.Selected = value
 
value = instance.Selected
public bool Selected {get; set;}
 get_Selected();
set_Selected(value);
public:
property bool Selected {
   bool get();
   void set (    bool value);
}

Property Value

true if this RasterImageListItem is currently selected; otherwise, false.
Remarks

You can determine whether a certain item is selected by using this property. Also you can use the RasterImageList.SelectedItems property to obtain a collection of all the currently selected items in an RasterImageList control.

Items are usually selected/un-selected in the RasterImageList control through the user interface when the user clicks on an item or uses the keyboard.

You can manually select/un-select items using this property.

Example
For an example, refer to RasterImageList.
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

RasterImageListItem Class
RasterImageListItem Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.