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
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl ButtonBase Button object

Constructors

CommandButton()

Initializes an instance of the class.

public CommandButton()

Properties

BackgroundHover

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

BackgroundPressed

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

BulletTemplate

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

public DataTemplate? BulletTemplate { get; set; }

Property Value

DataTemplate

Title

The title to display in the control.

public string? Title { get; set; }

Property Value

string

Fields

BackgroundHoverProperty

Defines the BackgroundHover property.

public static readonly DependencyProperty BackgroundHoverProperty

BackgroundPressedProperty

Defines the BackgroundPressed property.

public static readonly DependencyProperty BackgroundPressedProperty

BulletTemplateProperty

Defines the BulletTemplate property.

public static readonly DependencyProperty BulletTemplateProperty

TitleProperty

Defines the Title property.

public static readonly DependencyProperty TitleProperty

Extension Methods