PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model.​Controls Namespace / Redo­Button Class

RedoButton Class

A typical implementation of a Redo button, with an optional and expandable list of operations that can be redone.
Inheritance Hierarchy

Namespace:  PostSharp.Patterns.Model.Controls
Assembly:  PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 2023.0.3.0 (2023.0.3.0)
public class RedoButton : UndoRedoButtonBase

The RedoButton type exposes the following members.

Public methodRedoButton
Initializes a new instance of the RedoButton class.
Protected propertyIsEnabledCore
Gets the value of the IsEnabled property.
(Inherited from UndoRedoButtonBase.)
Public propertyIsListEnabled
Determines whether the button can be extended and display the list of operations that can be undone or redone.
(Inherited from UndoRedoButtonBase.)
Public propertyIsListExpanded
Determines whether the detailed list of operations is currently expanded.
(Inherited from UndoRedoButtonBase.)
Public propertyMaxOperationsCount
Gets or sets the maximal number of operations displayed by the current button.
(Inherited from UndoRedoButtonBase.)
Public propertyOperations
Gets the list of operations displayed by the current button when in expanded state.
(Inherited from UndoRedoButtonBase.)
Public propertyRecorder
Gets or sets the Recorder bound to the current control.
(Inherited from UndoRedoButtonBase.)
Public propertyUndoCommand
Gets or sets the command used execute the Undo action.
(Inherited from UndoRedoButtonBase.)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
(Inherited from UndoRedoButtonBase.)
Protected methodOnClick
Called when a Button is clicked.
(Inherited from UndoRedoButtonBase.)
Protected methodOnKeyDown
Provides class handling for the KeyDown routed event that occurs when the user presses a key while this control has focus.
(Inherited from UndoRedoButtonBase.)
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
(Inherited from UndoRedoButtonBase.)
Public eventPropertyChanged
Event raised when the value of a property of the current object changes.
(Inherited from UndoRedoButtonBase.)
See Also