Click or drag to resize

IRibbonChoice Interface

A choice control, optionally acts like a dropdown menu.

Namespace: Demo3D.Gui
Assembly: WpfControls (in WpfControls.dll) Version: 19.00.00
Syntax
C#
public interface IRibbonChoice : IRibbonSplitItem, 
	IRibbonContainer, IRibbonItem, IRibbonCheck, IRibbonButton

The IRibbonChoice type exposes the following members.

Properties
 NameDescription
Public propertyActAsDropDown If true the control acts like a dropdown menu.
(Inherited from IRibbonSplitItem)
Public propertyCaption The caption of this tool.
(Inherited from IRibbonItem)
Public propertyCategory The category in which this tool belongs.
(Inherited from IRibbonItem)
Public propertyCommand The command to be called when this tool is activated.
(Inherited from IRibbonItem)
Public propertyCommandParameter Any command parameters to be passed to the command.
(Inherited from IRibbonItem)
Public propertyCustomHelpCommand The command triggered when the help button in the tooltip is clicked. When set this overrides the default HelpPage behaviour.
(Inherited from IRibbonItem)
Public propertyCustomHelpText Custom help text to be displayed in the tooltip.
(Inherited from IRibbonItem)
Public propertyDefaultGesture The default shortcut key/key combination.
(Inherited from IRibbonItem)
Public propertyGlobalizedCaption The globalized caption of this tool.
(Inherited from IRibbonItem)
Public propertyGlyph The small glyph of this tool. If set the tool will be in a smaller format.
(Inherited from IRibbonItem)
Public propertyGlyphOriginal The original glyph of this tool with no theme-specific colors applied to it.
(Inherited from IRibbonItem)
Public propertyGlyphTheming Should the Glyph be re-colored based on the current Theme?
(Inherited from IRibbonItem)
Public propertyHelpPage The url to navigate to when the help button in the tooltip is clicked.
(Inherited from IRibbonItem)
Public propertyIsChecked Current status of the checkbox.
(Inherited from IRibbonCheck)
Public propertyIsEnabled Is the tool enabled.
(Inherited from IRibbonItem)
Public propertyIsVisible Is the tool visible.
(Inherited from IRibbonItem)
Public propertyKeyGesture The shortcut key/key combination.
(Inherited from IRibbonItem)
Public propertyLargeGlyph The large glyph of this tool. If set the tool will be in a large format.
(Inherited from IRibbonItem)
Public propertyMouseEnterCommand The command triggered when the mouse enters the tool.
(Inherited from IRibbonItem)
Public propertyMouseEnterCommandParameter Any parameters to be passed to the MouseEnterCommand.
(Inherited from IRibbonItem)
Public propertyMouseLeaveCommand The command triggered when the mouse leaves the tool.
(Inherited from IRibbonItem)
Public propertyMouseLeaveCommandParameter Any parameters to be passed to the MouseLeaveCommand.
(Inherited from IRibbonItem)
Public propertyName The name of this tool if given one. Defaults to the Caption if not set.
(Inherited from IRibbonItem)
Public propertyPadding The inner indents of this tool. Used to increase the tool size.
(Inherited from IRibbonItem)
Public propertyRibbonStyle Explicitly sets the RibbonStyle of this tool.
(Inherited from IRibbonItem)
Public propertyTag Object storage.
(Inherited from IRibbonItem)
Public propertyValue The current value of the choice control.
Top
Methods
 NameDescription
Public methodAddChoice(String) Add a choice (option) to this choice control.
Public methodAddChoice(String, BitmapImage) Add a choice (option) to this choice control.
Public methodAddItem Add an IRibbonItem to this container.
(Inherited from IRibbonContainer)
Public methodAddItems Add multiple IRibbonItems to this container.
(Inherited from IRibbonContainer)
Public methodClear Clear all tools from this container.
(Inherited from IRibbonContainer)
Public methodExecuteCommand Executes the current Command when called.
(Inherited from IRibbonItem)
Public methodGetItem Get an IRibbonItem from this container.
(Inherited from IRibbonContainer)
Public methodGetTools Get all the tools in this container.
(Inherited from IRibbonContainer)
Public methodInsertItem Insert an IRibbonItem into this container at a given index.
(Inherited from IRibbonContainer)
Public methodPerformClick Triggers a click event from script.
(Inherited from IRibbonButton)
Top
Events
 NameDescription
Public eventClick The click event handler. Excecutes when the button is clicked.
(Inherited from IRibbonButton)
Public eventIsCheckedChanged Excecutes when the checkbox is checked or unchecked.
(Inherited from IRibbonCheck)
Public eventPropertyChanged Occurs when a property has changed.
(Inherited from IRibbonItem)
Public eventValueChanged Event triggered when Value changes.
Top
See Also