CommandToggleButton Constructor (NavigationBarCommandBase, Object)
This documentation is no longer available on MSDN, however it is available as a CHM download.
Initializes a new instance of the CommandToggleButton class.
Namespace: Microsoft.Maps.MapControl.Navigation
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)
Usage
Syntax
'Declaration
Public Sub New ( _
command As NavigationBarCommandBase, _
content As Object _
)
public CommandToggleButton (
NavigationBarCommandBase command,
Object content
)
public:
CommandToggleButton (
NavigationBarCommandBase^ command,
Object^ content
)
public CommandToggleButton (
NavigationBarCommandBase command,
Object content
)
public function CommandToggleButton (
command : NavigationBarCommandBase,
content : Object
)
Parameters
- command
The command to execute when the toggle button is clicked.
- content
The content of the button.
Platforms
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
See Also
Reference
CommandToggleButton Class
CommandToggleButton Members
Microsoft.Maps.MapControl.Navigation Namespace