Share via


CommandButton Constructor (NavigationBarCommandBase, Object, String)

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

Parameters

  • command
    The command to execute when the button is clicked.
  • content
    The content of the button.
  • tooltip
    The tooltip 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