[]
Represents the CalculatorButton class.
public class CalculatorButton : Button, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource
Public Class CalculatorButton
Inherits Button
Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource
Supported VisualState list:
VisualStateGroup Name |
VisualState Name |
Description |
---|---|---|
CommonStates |
Normal |
Represents the visual appearance when control is in normal state. |
CommonStates |
Disabled |
|
CommonStates |
Pressed |
|
CommonStates |
MouseOver |
Represents the visual appearance when IsMouseOver is true. |
FocusStates |
Focused |
Represents the visual appearance when IsKeyboardFocused is true. |
FocusStates |
Unfocused |
Represents the visual appearance when IsKeyboardFocused is false. |
ValidationStates |
Valid |
Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns false. |
ValidationStates |
InvalidFocused |
Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and IsKeyboardFocused is true. |
ValidationStates |
InvalidUnfocused |
Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and IsKeyboardFocused is false. |
Name | Description |
---|---|
CalculatorButton() | Initializes a new instance of the CalculatorButton class. |