SelectionCommands.ToggleSelectTarget Property
Gets a ToolCommand that represents a request to toggle the selection state of 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 ToggleSelectTarget As ToolCommand
Get
public static ToolCommand ToggleSelectTarget { get; }
public:
static property ToolCommand^ ToggleSelectTarget {
ToolCommand^ get ();
}
static member ToggleSelectTarget : ToolCommand
static function get ToggleSelectTarget () : ToolCommand
Property Value
Type: Microsoft.Windows.Design.Interaction.ToolCommand
A request to toggle the selection state of the object under the mouse pointer in the designer.
Remarks
If the object under the mouse pointer is already selected, it is deselected. If the object is not selected, it becomes selected. This command does not change the selected state of any other objects in the designer.
.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