UndoRedoButtonBase Class |
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
PostSharp.Patterns.Model.Controls.UndoRedoButtonBase
PostSharp.Patterns.Model.Controls.RedoButton
PostSharp.Patterns.Model.Controls.UndoButton
Namespace: PostSharp.Patterns.Model.Controls
Assembly: PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 2023.0.3.0 (2023.0.3.0)
public abstract class UndoRedoButtonBase : Button, INotifyPropertyChanged
The UndoRedoButtonBase type exposes the following members.
Name | Description | |
---|---|---|
IsEnabledCore | Gets the value of the IsEnabled property. (Overrides ButtonBase.IsEnabledCore.) | |
IsListEnabled |
Determines whether the button can be extended and display the list of operations that can be undone or redone.
| |
IsListExpanded |
Determines whether the detailed list of operations is currently expanded.
| |
MaxOperationsCount |
Gets or sets the maximal number of operations displayed by the current button.
| |
Operations |
Gets the list of operations displayed by the current button when in expanded state.
| |
Recorder |
Gets or sets the Recorder bound to the current control.
| |
UndoCommand |
Gets or sets the command used execute the Undo action.
|
Name | Description | |
---|---|---|
OnApplyTemplate | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate(). (Overrides FrameworkElement.OnApplyTemplate().) | |
OnClick | Called when a Button is clicked. (Overrides Button.OnClick().) | |
OnKeyDown | Provides class handling for the KeyDown routed event that occurs when the user presses a key while this control has focus. (Overrides ButtonBase.OnKeyDown(KeyEventArgs).) | |
OnPropertyChanged |
Raises the PropertyChanged event.
|
Name | Description | |
---|---|---|
PropertyChanged |
Event raised when the value of a property of the current object changes.
|
Name | Description | |
---|---|---|
IsListEnabledProperty |
Definition of the IsListEnabled property.
| |
MaxOperationsCountProperty |
Definition of the MaxOperationsCount property.
| |
RecorderProperty |
Definition of the Recorder dependency property.
| |
UndoCommandProperty |
Definition of the UndoCommand dependency property.
|