Share via


CommandButton 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 CommandButton 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 CommandButton (
    NavigationBarCommandBase command,
    Object content
)
public:
CommandButton (
    NavigationBarCommandBase^ command, 
    Object^ content
)
public CommandButton (
    NavigationBarCommandBase command, 
    Object content
)
public function CommandButton (
    command : NavigationBarCommandBase, 
    content : Object
)

Parameters

  • command
    The command to execute when the 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

CommandButton Class
CommandButton Members
Microsoft.Maps.MapControl.Navigation Namespace