AddOptionSet Method (CommandBarManager)
Create a new OptionSet identified by the specified Key An OptionSet is a set of
StateButtonTools (a radio group) where at most one of the tools can can be in the Down
(pressed) state.
Syntax
public abstract void AddOptionSet( bool allowAllUp, string key )
public: abstract void AddOptionSet( bool allowAllUp, String^ key )
Parameters
- allowAllUp
- Boolean, controlling whether all buttons can be in the Up (unpressed) state simultaneously.
- key
- Unique key identifying the OptionSet.
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