ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class / UseSelection Property
Version

UseSelection Property
Gets or sets if the sketch can enter sketch selection mode by holding the SHIFT key. Sketch selection mode allows you to select additional features while sketching. The sketch state is saved in selection mode. Releasing the SHIFT key returns you to sketch mode and allows you to resume sketching. The default value is False.
Syntax
protected bool UseSelection {get; set;}
Remarks
When True, the user can enter sketch selection mode by holding the SHIFT key. The sketch state is saved while selecting and the sketch is resumed when the SHIFT key is released. When False, SHIFT cannot be used to enter selection mode. Note that toggling between selection and sketch modes can also be achieved with the ActivateSelectAsync method. If using this method, the sketch state will only be saved if UseSelection is True.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.0 or higher.
See Also