Difference between revisions of "RxBackstageItem"

From Ribbon Commander Documentation
Jump to: navigation, search
 
Line 2: Line 2:
 
[[Category:Controls]]
 
[[Category:Controls]]
 
[[Category:2010 Controls]]
 
[[Category:2010 Controls]]
 +
 +
[[image: rxBackstageItem.png|right|link=]]
 +
== Description ==
 +
rxBackstageItem models element [http://msdn.microsoft.com/en-us/library/dd906428(v=office.12).aspx CT_BackstageItem] of the MS Custom UI XML specification which specifies an item in a selection-type control in the Backstage.
 +
 +
== Properties ==
 +
{{DocTableBegin | Col1Name=Property Name | Col2Name=Description}}
 +
{{DocTableEntry | name=id}}
 +
{{DocTableEntry | name=isEmpty}}
 +
{{DocTableEntry | name=isLive}}
 +
{{DocTableEntry | name=label}}
 +
{{DocTableEntry | name=parent}}
 +
{{DocTableEntry | name=xml}}
 +
{{DocTableEnd}}
 +
 +
== Methods ==
 +
{{DocTableBegin | Col1Name=Method Name | Col2Name=Description}}
 +
{{DocTableEntry | name=clear}}
 +
{{DocTableEntry | name=clone}}
 +
{{DocTableEntry | name=readXml}}
 +
{{DocTableEnd}}
 +
 +
== Delegates ==
 +
{{DocTableBegin | Col1Name=Delegate Name | Col2Name=Description}}
 +
{{DocTableEntry | name=getLabel}}
 +
{{DocTableEnd}}
 +
 +
== Events ==
 +
{{DocTableBegin | Col1Name=Event Name | Col2Name=Description}}
 +
{{DocTableEntry | name=OnGetLabel}}
 +
{{DocTableEnd}}
 +
 +
== Remarks ==
 +
 +
== Examples ==
 +
 +
=== VBA ===
 +
<syntaxhighlight lang="vb" line>
 +
</syntaxhighlight>
 +
 +
=== C# ===
 +
<syntaxhighlight lang="csharp" line>
 +
</syntaxhighlight>
 +
 +
=== VB.NET ===
 +
<syntaxhighlight lang="vb" line>
 +
</syntaxhighlight>
 +
 +
=== C++ ===
 +
<syntaxhighlight lang="cpp" line>
 +
</syntaxhighlight>

Latest revision as of 21:17, 11 March 2013

RxBackstageItem.png

Description

rxBackstageItem models element CT_BackstageItem of the MS Custom UI XML specification which specifies an item in a selection-type control in the Backstage.

Properties

Property Name
Description
id The ID of a custom UI element. IDs must be unique
isEmpty Read-only property; returns true if the control is empty
isLive Read-only property; returns true if the control is live
label Sets the control's label
parent The control's parent object
xml Returns the xml node that corresponds to the state of the control

Methods

Method Name
Description
clear Clears the control's state
clone Creates a clone of the control (a new id is automatically created if applicable)
readXml Populates the control using the passed-in XML string

Delegates

Delegate Name
Description
getLabel Callback that sets the label

Events

Event Name
Description
OnGetLabel Callback that sets the label

Remarks

Examples

VBA

  1.  

C#

  1.  

VB.NET

  1.  

C++

  1.