SelectionCommands.UnionSelectTarget Property
Gets a ToolCommand that represents a request to add the object under the mouse pointer in the designer to the existing selection.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared ReadOnly Property UnionSelectTarget As ToolCommand
Get
public static ToolCommand UnionSelectTarget { get; }
public:
static property ToolCommand^ UnionSelectTarget {
ToolCommand^ get ();
}
static member UnionSelectTarget : ToolCommand
static function get UnionSelectTarget () : ToolCommand
Property Value
Type: Microsoft.Windows.Design.Interaction.ToolCommand
A request to add the object under the mouse pointer in the designer to the existing selection.
Remarks
If the object under the mouse pointer is already selected, this property promotes the object to be the primary selection object. This command does not clear any previous selection. To clear the previous selection, use the SelectTarget or SelectOnlyTarget properties instead.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace