SelectionCommands.SelectTarget Property
Gets a ToolCommand that represents a request to select the object under the mouse pointer in the designer.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared ReadOnly Property SelectTarget As ToolCommand
Get
public static ToolCommand SelectTarget { get; }
public:
static property ToolCommand^ SelectTarget {
ToolCommand^ get ();
}
static member SelectTarget : ToolCommand
static function get SelectTarget () : ToolCommand
Property Value
Type: Microsoft.Windows.Design.Interaction.ToolCommand
A request to select the object under the mouse pointer in the designer.
Remarks
If the object under the mouse pointer is already selected, this property promotes the object to be the primary selection object. Otherwise, this command clears any previous selection. To preserve the existing selection, use the UnionSelectTarget property instead. This command selects multiple objects. To select a single object, use the SelectOnlyTarget property 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