Difference between revisions of "Method globalCustomUIs"

From Ribbon Commander Documentation
Jump to: navigation, search
(Remarks)
(Remarks)
Line 7: Line 7:
  
 
== Remarks ==
 
== Remarks ==
# The default [[rxCustomUI]] of the session (see [[Method defaultInstance|rxCustomUI.defaultInstance]]) is a read-only member of the collection (i.e. it can't be removed)
+
# The default [[rxCustomUI]] of the session (see [[Method defaultInstance|rxCustomUI.defaultInstance]]) is a read-only member of the collection (i.e. it can't be removed).
 
# [[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]]).
 
# You can look-up [[rxCustomUI]] object in the [[collection]] by contextId (see [[#Examples|Examples]]).

Revision as of 21:11, 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

  1. The default rxCustomUI of the session (see rxCustomUI.defaultInstance) is a read-only member of the collection (i.e. it can't be removed).
  2. rxCustomUI objects are added to the collection via method rxCustomUI.create when DispatchScope_global is used.
  3. You can look-up rxCustomUI object in the collection by contextId (see Examples).

Examples

VBA

  1. ' Cache a reference to the default rxCustomUI of this session
  2. Dim myCustomUI As rxCustomUI
  3. Set myCustomUI = rxCustomUI.defaultInstance

C#

  1. // Cache a reference to the default rxCustomUI of this session
  2. rxCustomUI myCustomUI = rxCustomUI.defaultInstance

VB.NET

  1. ' Cache a reference to the default rxCustomUI of this session
  2. Dim myCustomUI As rxCustomUI = rxCustomUI.defaultInstance

C++

  1.