C# Class Zetbox.Client.WPF.UndoManager

Mostra file Open project: daszat/zetbox Class Usage Examples

Public Properties

Property Type Description
SharedUndoScopeProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetSharedUndoScope ( DependencyObject obj ) : UndoManager
Redo ( ) : void
SetSharedUndoScope ( DependencyObject obj, UndoManager value ) : void
Undo ( ) : void

Private Methods

Method Description
AddUndoableAction ( System.Windows.Controls.Primitives.TextBoxBase sender, UndoAction action ) : void
AttachEventHandlers ( System.Windows.Controls.Primitives.TextBoxBase textBox, UndoManager manager ) : void
ExecutedHandler ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnUseGlobalUndoScopeChanged ( DependencyObject depObj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
PushUndoOperation ( System.Windows.Controls.Primitives.TextBoxBase sender, UndoAction action ) : void
RemoveEventHandlers ( System.Windows.Controls.Primitives.TextBoxBase textBox, UndoManager manager ) : void
TextChangedHandler ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Method Details

GetSharedUndoScope() public static method

public static GetSharedUndoScope ( DependencyObject obj ) : UndoManager
obj System.Windows.DependencyObject
return UndoManager

Redo() public method

public Redo ( ) : void
return void

SetSharedUndoScope() public static method

public static SetSharedUndoScope ( DependencyObject obj, UndoManager value ) : void
obj System.Windows.DependencyObject
value UndoManager
return void

Undo() public method

public Undo ( ) : void
return void

Property Details

SharedUndoScopeProperty public_oe static_oe property

public static DependencyProperty,System.Windows SharedUndoScopeProperty
return System.Windows.DependencyProperty