6 using SiliconStudio.ActionStack;
7 using SiliconStudio.Presentation.Controls;
9 namespace SiliconStudio.Presentation.Behaviors
22 AssociatedObject.RepeatButtonPressed += RepeatButtonPressed;
23 AssociatedObject.RepeatButtonReleased += RepeatButtonReleased;
28 AssociatedObject.RepeatButtonPressed -= RepeatButtonPressed;
29 AssociatedObject.RepeatButtonReleased -= RepeatButtonReleased;
36 ActionStack.BeginTransaction();
44 var items = ActionStack.GetCurrentTransactions();
49 var name = items.First().Name;
50 ActionStack.EndTransaction(name);
55 ActionStack.DiscardTransaction();
This class is an implementation of the ITransactionalActionStack interface.
override void OnAttachedOverride()
override void OnDetachingOverride()
This behavior allows more convenient editing of the value of a char using a TextBox.
This class represents a thread-safe stack of action items that can be undone/redone.