ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Editing.Controls Namespace / SelectionControl Class
Members

In This Topic
    SelectionControl Class
    In This Topic
    The SelectionControl is a configurable control that provides a UI for displaying the current selection if a Nao in a tree view. SelectionControl
    Object Model
    SelectionControl ClassSelectionSet ClassInspector ClassMap Class
    Syntax
    Remarks
    To configure the control assign the current Map to the Map proeprty. When the Map property is set, the control will listen to the ArcGIS.Desktop.Mapping.Events.MapSelectionChangedEvent for that map and display the current selection set.

    Use the HighlightedItemsChanged event to determine when items in this control are highlighted by the user. Alternatively use the HighlightedItems property to get or set items as highlighted.

    Combine this control with the SelectionToolPickerControl and an Inspector embeddable control (see ArcGIS.Desktop.Editing.Attributes.Inspector.CreateEmbeddableControl) to build a simple version of the ArcGIS Pro Attributes windows. When using the Inspector embeddable control, set the Inspector dependency property. See the EditorInspectorUI Community Sample here.

    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             System.Windows.Media.Visual
                System.Windows.UIElement
                   System.Windows.FrameworkElement
                      System.Windows.Controls.Control
                         System.Windows.Controls.ContentControl
                            System.Windows.Controls.UserControl
                               ArcGIS.Desktop.Editing.Controls.SelectionControl

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.8 or higher.
    See Also