Udostępnij za pośrednictwem


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

See Also

Reference

SelectionCommands Class

Microsoft.Windows.Design.Interaction Namespace

Selection

SelectionOperations

Union

SelectionTool

EditingContext

CanExecute

Execute

Other Resources

WPF Designer Extensibility Architecture