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

UndoRedoButtonBase Methods

The UndoRedoButtonBase type exposes the following members.

Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
(Overrides FrameworkElement.OnApplyTemplate().)
Protected methodOnClick
Called when a Button is clicked.
(Overrides Button.OnClick().)
Protected methodOnKeyDown
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).)
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
See Also