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:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control System.Windows.Controls.ContentControl System.Windows.Controls.Primitives.ButtonBase System.Windows.Controls.Button Object
Constructors
CommandButton()
public CommandButton()
Properties
BackgroundHover
Gets or sets the System.Windows.Media.Brush that is used to render the background of the button when in a hover state.
public Brush BackgroundHover { get; set; }
Property Value
- System.Windows.Media.Brush:
The System.Windows.Media.Brush that is used to render the background of the button when in a hover state.
BackgroundPressed
Gets or sets the System.Windows.Media.Brush that is used to render the background of the button when in a pressed state.
public Brush BackgroundPressed { get; set; }
Property Value
- System.Windows.Media.Brush:
The System.Windows.Media.Brush that is used to render the background of the button when in a pressed state.
BulletTemplate
Gets or sets the System.Windows.DataTemplate that is used to render the arrow glyph for the button.
public DataTemplate BulletTemplate { get; set; }
Property Value
- System.Windows.DataTemplate:
The System.Windows.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
- System.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
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()