SelectionCommands.SelectOnlyTarget Property
Gets a ToolCommand that represents a request to select only 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 SelectOnlyTarget As ToolCommand
Get
public static ToolCommand SelectOnlyTarget { get; }
public:
static property ToolCommand^ SelectOnlyTarget {
ToolCommand^ get ();
}
static member SelectOnlyTarget : ToolCommand
static function get SelectOnlyTarget () : ToolCommand
Property Value
Type: Microsoft.Windows.Design.Interaction.ToolCommand
A request to select only the object under the mouse pointer in the designer.
Remarks
This command clears any previous selection. To preserve the existing selection, use the UnionSelectTarget property instead. This command selects only one object. To select multiple objects, use the SelectTarget 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