Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
EnableRubberBandSelection Property
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : EnableRubberBandSelection Property




Enables or disables rubber band selection in the RasterImageList.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Enables or disables rubber band selection when the selection mode is set to multi.")>
Public Property EnableRubberBandSelection As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImageList
Dim value As Boolean
 
instance.EnableRubberBandSelection = value
 
value = instance.EnableRubberBandSelection
C# 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Enables or disables rubber band selection when the selection mode is set to multi.")]
public bool EnableRubberBandSelection {get; set;}
Managed Extensions for C++ 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Enables or disables rubber band selection when the selection mode is set to multi.")]
public: __property bool get_EnableRubberBandSelection();
public: __property void set_EnableRubberBandSelection( 
   bool value
);
C++/CLI 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Enables or disables rubber band selection when the selection mode is set to multi.")]
public:
property bool EnableRubberBandSelection {
   bool get();
   void set (bool value);
}

Return Value

true to enable rubber band selection; false otherwise.

Example

For an example, refer to AutoDeselectItems.

Remarks

This property is used only if SelectionMode is set to RasterImageListSelectionMode.Multi.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also