CommandButton class¶
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.CommandButton
Modifiers: public
Summary¶
Represents a command-aware button that can project execution state, progress, and error content.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class CommandButton
class Button
Button <|-- CommandButton
Inherits from: Button
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| State | Gets or sets the command execution state displayed by the button. |
| IsExecuting | Gets or sets a value indicating whether the command is executing. |
| Progress | Gets or sets optional normalized progress from 0.0 to 1.0. |
| ExecutingContent | Gets or sets the content shown while the command is executing. |
| ErrorContent | Gets or sets optional content shown for a failed command. |
Fields¶
| Name | Summary |
|---|---|
| static StateProperty | Property for [State](# |
| static IsExecutingProperty | Property for [IsExecuting](# |
| static ProgressProperty | Property for [Progress](# |
| static ExecutingContentProperty | Property for [ExecutingContent](# |
| static ErrorContentProperty | Property for [ErrorContent](# |
Derived types¶
Inherited members
CrissCross.WPF.UI.Controls.Button.IconPropertyCrissCross.WPF.UI.Controls.Button.AppearancePropertyCrissCross.WPF.UI.Controls.Button.MouseOverBackgroundPropertyCrissCross.WPF.UI.Controls.Button.MouseOverBorderBrushPropertyCrissCross.WPF.UI.Controls.Button.PressedForegroundPropertyCrissCross.WPF.UI.Controls.Button.PressedBackgroundPropertyCrissCross.WPF.UI.Controls.Button.PressedBorderBrushPropertyCrissCross.WPF.UI.Controls.Button.CornerRadiusPropertyCrissCross.WPF.UI.Controls.Button.#ctorCrissCross.WPF.UI.Controls.Button.IconCrissCross.WPF.UI.Controls.Button.AppearanceCrissCross.WPF.UI.Controls.Button.MouseOverBackgroundCrissCross.WPF.UI.Controls.Button.MouseOverBorderBrushCrissCross.WPF.UI.Controls.Button.PressedForegroundCrissCross.WPF.UI.Controls.Button.PressedBackgroundCrissCross.WPF.UI.Controls.Button.PressedBorderBrushCrissCross.WPF.UI.Controls.Button.CornerRadiusSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString