←Select platform

EnableRubberBandSelection Property (RasterImageList)

Summary

Enables or disables rubber band selection in the RasterImageList.

Syntax

C#
VB
C++
[DescriptionAttribute("Enables or disables rubber band selection when the selection mode is set to multi.")] 
[CategoryAttribute("Behavior")] 
public bool EnableRubberBandSelection {get; set;} 
<DescriptionAttribute("Enables or disables rubber band selection when the selection mode is set to multi.")> 
<CategoryAttribute("Behavior")> 
Public Property EnableRubberBandSelection As Boolean 
[DescriptionAttribute("Enables or disables rubber band selection when the selection mode is set to multi.")] 
[CategoryAttribute("Behavior")] 
public: 
property bool EnableRubberBandSelection { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to enable rubber band selection; false otherwise. true is the default value.

Remarks

This property is used only if SelectionMode is set to RasterImageListSelectionMode.Multi. If thes property value is set to true when bring up a context menu using right-click, the selection will be lost.

Example

For an example, refer to AutoDeselectItems.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize