PostSharp4.3/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
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
                    PostSharp.Patterns.Model.Controls.UndoRedoButtonBase
                      PostSharp.Patterns.Model.Controls.RedoButton

Namespace: PostSharp.Patterns.Model.Controls
Assembly: PostSharp.Patterns.Model.Controls (in PostSharp.Patterns.Model.Controls.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public class RedoButton : UndoRedoButtonBase

The RedoButton type exposes the following members.

Constructors
  NameDescription
Public methodRedoButton
Initializes a new instance of the RedoButton class.
Properties
  NameDescription
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.)
Methods
  NameDescription
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.)
Events
  NameDescription
Public eventPropertyChanged
Event raised when the value of a property of the current object changes.
(Inherited from UndoRedoButtonBase.)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also