Difference between revisions of "Method globalCustomUIs"
From Ribbon Commander Documentation
(→Remarks) |
(→Remarks) |
||
Line 9: | Line 9: | ||
# The default [[rxCustomUI]] of the session (see [[Method defaultInstance|rxCustomUI.defaultInstance]]) is a read-only member of the collection. | # The default [[rxCustomUI]] of the session (see [[Method defaultInstance|rxCustomUI.defaultInstance]]) is a read-only member of the collection. | ||
# [[rxCustomUI]] objects are added to the collection via method [[Method create|rxCustomUI.create]] when [[rxDispatchScope | DispatchScope_global]] is used. | # [[rxCustomUI]] objects are added to the collection via method [[Method create|rxCustomUI.create]] when [[rxDispatchScope | DispatchScope_global]] is used. | ||
− | # | + | # You can look-up [[rxCustomUI]] object in the [[collection]] by contextId (see [[#Examples|Examples]]). |
== Examples == | == Examples == |
Revision as of 17:33, 14 March 2013
Description
Static method that returns the collection of rxCustomUIs with global dispatch in the current session.
Parameters
Parameter Name
|
Parameter Type
|
Default Value
|
Description
|
Remarks
- The default rxCustomUI of the session (see rxCustomUI.defaultInstance) is a read-only member of the collection.
- rxCustomUI objects are added to the collection via method rxCustomUI.create when DispatchScope_global is used.
- You can look-up rxCustomUI object in the collection by contextId (see Examples).
Examples
VBA
' Cache a reference to the default rxCustomUI of this session
Dim myCustomUI As rxCustomUI
Set myCustomUI = rxCustomUI.defaultInstance
C#
// Cache a reference to the default rxCustomUI of this session
rxCustomUI myCustomUI = rxCustomUI.defaultInstance
VB.NET
' Cache a reference to the default rxCustomUI of this session
Dim myCustomUI As rxCustomUI = rxCustomUI.defaultInstance