CommandButton Class

This documentation is no longer available on MSDN, however it is available as a CHM download.

Represents a button that executes a command when clicked.

Namespace: Microsoft.Maps.MapControl.Navigation
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Public Class CommandButton
    Inherits Button
public class CommandButton : Button
public ref class CommandButton : public Button
public class CommandButton extends Button
public class CommandButton extends Button

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
     System.Windows.UIElement
       System.Windows.FrameworkElement
         System.Windows.Controls.Control
           System.Windows.Controls.ContentControl
             System.Windows.Controls.Primitives.ButtonBase
               System.Windows.Controls.Button
                Microsoft.Maps.MapControl.Navigation.CommandButton

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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 Members
Microsoft.Maps.MapControl.Navigation Namespace