Skip to main content
A newer version of this page is available. .

SvgImageBoxOptionsSelection.UseCtrlToMultiSelect Property

Gets or sets whether a user needs to press the CTRL key to select image items by clicking them with the mouse cursor. This property is in effect in Multiple selection mode.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v22.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean UseCtrlToMultiSelect { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

True if a user needs to press the CTRL key to select image items by clicking them with the mouse cursor; otherwise, False or Default.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseCtrlToMultiSelect
SvgImageBox
.OptionsSelection .UseCtrlToMultiSelect

Remarks

The UseCtrlToMultiSelect property is in effect in multiple selection mode. The property can be set to the following values:

  • False or Default - A user can select items by clicking them with the mouse cursor.

  • True - A user needs to press the CTRL key to select items by clicking them with the mouse cursor.

See Also