Difference between revisions of "RxCustomUI"
From Ribbon Commander Documentation
Line 37: | Line 37: | ||
== Methods == | == Methods == | ||
{{DocTableBegin | Col1Name=Method Name | Col2Name=Description}} | {{DocTableBegin | Col1Name=Method Name | Col2Name=Description}} | ||
+ | {{DocTableEntry | name=activateTab}} | ||
+ | {{DocTableEntry | name=activateTabMso}} | ||
+ | {{DocTableEntry | name=activateTabQ}} | ||
{{DocTableEntry | name=clear}} | {{DocTableEntry | name=clear}} | ||
− | {{DocTableEntry | name= | + | {{DocTableEntry | name=invalidate}} |
− | {{DocTableEntry | name= | + | {{DocTableEntry | name=invalidateControl}} |
+ | {{DocTableEntry | name=invalidateControlMso}} | ||
+ | {{DocTableEntry | name=make_delegate}} | ||
+ | {{DocTableEntry | name=populateFromXml}} | ||
+ | {{DocTableEntry | name=refresh}} | ||
+ | {{DocTableEntry | name=serializeToXml}} | ||
{{DocTableEnd}} | {{DocTableEnd}} | ||
Revision as of 12:38, 13 March 2013
Contents
Description
rxCustomUI models element CT_CustomUI of the MS Custom UI XML specification which specifies the root control in the Custom UI hierarchy.
Properties
Property Name
|
Description
|
addinDescription | (read-only) Returns the add-in description of an rxCustomUI object's context |
application | (read-only) Returns a weakly-typed reference to the target application object |
contextId | (read-only) Returns the unique string identifier of an rxCustomUI object's context |
customUIMode | The rxCustomUI object's mode |
dispatchObject | A client-supplied dispatch object for delegate callbacks |
dispatchObject_weakRef | A client-supplied dispatch object for delegate callbacks held by weak reference |
isEmpty | Read-only property; returns true if the control is empty |
isLive | Read-only property; returns true if the control is live |
isReloadPending | (read-only) Whether a reload is required in order to display all changed state in this context |
maxTargetOfficeVersion | The maximum office version override for this context |
officeRibbonUI | (read-only) Returns a weakly-typed reference to this context's Office RibbonUI object |
parent | The control's parent object |
targetOfficeVersion | (read-only) Returns the major version of the hosting Office application |
Contained Controls
Property Name
|
Description
|
backstage | A reference to the backstage of this context |
commands | A collection of commands |
contextMenus | A collection of context menus |
namespaces | The collection of XML namespaces used in the control's context |
ribbon | A reference to the ribbon of this context |
ribbonXControls | The collection of all Dynamic RibbonX controls in this context |
Methods
Method Name
|
Description
|
activateTab | Activates a custom tab |
activateTabMso | Activates a built-in tab |
activateTabQ | Activates a custom shared tab |
clear | Clears the control's state |
invalidate | Invalidates all controls in this context |
invalidateControl | Invalidates a single control in this context |
invalidateControlMso | Invalidates a single built-in control in this context |
make_delegate | Creates a new rxDelegate object that is associated with this context |
populateFromXml | Reads this context's state from xml |
refresh | Renders this context's UI |
serializeToXml | Serializes this context's state to xml |
Delegates
Delegate Name
|
Description
|
onCallbackError | Callback used to report errors that occur during other callbacks |
onLoad | Callback invoked when custom UI is loaded |
loadImage | Callback used to load all images |
Events
Event Name
|
Description
|
OnCallbackErrorEvent | Callback used to report errors that occur during other callbacks |
OnLoadEvent | Callback invoked when custom UI is loaded |
OnLoadImageEvent | Callback used to load all images |