Επεξεργασία

Κοινή χρήση μέσω


ISelectionService.PrimarySelection Property

Definition

Gets the object that is currently the primary selected object.

public:
 property System::Object ^ PrimarySelection { System::Object ^ get(); };
public object PrimarySelection { get; }
public object? PrimarySelection { get; }
member this.PrimarySelection : obj
Public ReadOnly Property PrimarySelection As Object

Property Value

The object that is currently the primary selected object.

Remarks

When multiple components are selected at design time, one of the objects is the primary selected object. Some operations behave differently depending on which selected component is the primary selected object. The primary selected object is typically the last object that was selected, but the primary object of a multiple component selection can be changed to any of the selected components. The primary selected object has a selection border that is distinct in appearance from the other selected objects. The specific type of visual distinction depends on the development environment's implementation of a selection user interface.

Applies to