C#
VB
C++
Gets or sets a value that indicates whether rubber band selection is enabled in this control.
public bool EnableRubberBandSelection { get; set; } Public Property EnableRubberBandSelection As Boolean true if rubber band selection is enabled in this control, otherwise; false.
When the value of this property is true, the user can draw a rectangle on the control to select multiple items. This rectangle will be filled using the RubberBandFill brush.
using Leadtools.Help;using Leadtools.Windows.Controls;using Leadtools;using Leadtools.Codecs;public void ImageList_EnableRubberBandSelection(ImageList imageList){// Show the item textimageList.SelectionMode = SelectionMode.Multiple;imageList.EnableRubberBandSelection = true;SolidColorBrush fillBrush = new SolidColorBrush(Colors.Red);fillBrush.Opacity = .5;imageList.RubberBandFill = fillBrush;}
Imports Leadtools.Windows.ControlsImports Leadtools.CodecsImports LeadtoolsPublic Sub ImageList_EnableRubberBandSelection(ByVal imageList As ImageList)' Show the item textimageList.SelectionMode = SelectionMode.MultipleimageList.EnableRubberBandSelection = TrueDim fillBrush As SolidColorBrush = New SolidColorBrush(Colors.Red)fillBrush.Opacity = 0.5imageList.RubberBandFill = fillBrushEnd Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
