BCGControlBar Library for .NET
SmartUndoButton Class
Members 




The SmartUndoButton can be added to a Category item on the Ribbon or to an ItemsGroup.
It  implements the functionality of a menu button with popup menu. It is possible to select a couple of actions from this list and execute ("undo" or "redo") all of them. If the button itself is clicked, then only one (last added) action should be executed. In fact, the button acts as LIFO stack.
When we select any item from the popup menu, the action located after selected item will be removed from the LIFO Stack.
The SmartUndoButton can be of two types. If the value of the property CustomUndoButton is set to true, names of actions will be displayed in popup menu, other wise the number of action to be undone will be show as a text on every button. The size of the SmartUndoButton stack is non fixed.  Its size depends on the number of action to undo (or redo).
Object Model
SmartUndoButton ClassCommandBarManager ClassCommandEntry ClassCommandBar ClassToolbarButton ClassCommandBar ClassPopupMenuBar ClassToolbarButtonCollection ClassToolbarButton ClassToolbar Class
Syntax
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         BCGSoft.Controls.Shared.CommandObject
            BCGSoft.Controls.Shared.CommandButton
               BCGSoft.ControlBars.ToolbarButton
                  BCGSoft.ControlBars.ToolbarMenuButton
                     BCGSoft.ControlBars.SmartUndoButton

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SmartUndoButton Members
BCGSoft.ControlBars Namespace

Send Feedback