In This Article

CommandButton Class

Represents a button that can be used in an AeroWizard to provide some choices for moving forward in the wizard.

public class CommandButton : Button, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, ICommandSource
Inheritance:
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ContentControl ButtonBase Button Object

Constructors

CommandButton()

public CommandButton()

Properties

BackgroundHover

Gets or sets the Brush that is used to render the background of the button when in a hover state.

public Brush BackgroundHover { get; set; }

Property Value

Brush:

The Brush that is used to render the background of the button when in a hover state.

BackgroundPressed

Gets or sets the Brush that is used to render the background of the button when in a pressed state.

public Brush BackgroundPressed { get; set; }

Property Value

Brush:

The Brush that is used to render the background of the button when in a pressed state.

BulletTemplate

Gets or sets the DataTemplate that is used to render the arrow glyph for the button.

public DataTemplate BulletTemplate { get; set; }

Property Value

DataTemplate:

The DataTemplate that is used to render the arrow glyph for the button.

Title

Gets or sets the title to display in the control.

public string Title { get; set; }

Property Value

String:

The title to display in the control.

Fields

BackgroundHoverProperty

Identifies the BackgroundHover dependency property. This field is read-only.

public static readonly DependencyProperty BackgroundHoverProperty

BackgroundPressedProperty

Identifies the BackgroundPressed dependency property. This field is read-only.

public static readonly DependencyProperty BackgroundPressedProperty

BulletTemplateProperty

Identifies the BulletTemplate dependency property. This field is read-only.

public static readonly DependencyProperty BulletTemplateProperty

TitleProperty

Identifies the Title dependency property. This field is read-only.

public static readonly DependencyProperty TitleProperty

Inherited Members

Extension Methods