Difference between revisions of "XML Samples"

From Ribbon Commander Documentation
Jump to: navigation, search
(Created page with "{{Under Construction}}")
 
Line 1: Line 1:
{{Under Construction}}
+
{{DISPLAYTITLE:C# Samples}}
 +
== Before we start ==
 +
Before we get started you need to:
 +
* [[Installation | Install the Dynamic RibbonX framework]]
 +
 
 +
 
 +
== Introduction ==
 +
Dynamic RibbonX fully supports XML. All controls are serializable to XML and instantiatable from XML. The main package installs a few XML samples and a workbook (''XMLSamplesLoader.xls'') that can load the samples and contains delegate stubs for control callbacks.
 +
 
 +
 
 +
== Locating the samples ==
 +
To locate the samples:
 +
* Navigate to the ''Samples Directory'' through the ''Dynamic RibbonX'' [[Installation#Verifying Installation Success|Start Menu shortcut]].
 +
* Find the samples under ''XML''
 +
* Open workbook ''XMLSamplesLoader.xls'' and use its UI to load the samples.
 +
 
 +
 
 +
== Samples reference ==
 +
{{DocTableBegin | Col1Name=Sample File Name | Col2Name=Description}}
 +
{{DocTableNakedEntry | col1=RibbonSample1.xml|col2=A Ribbon sample}}
 +
{{DocTableNakedEntry | col1=RibbonSample2.xml|col2=A Ribbon sample}}
 +
{{DocTableNakedEntry | col1=DictatorSample2007.xml|col2=A dictator application UI sample for Office 2007}}
 +
{{DocTableNakedEntry | col1=DictatorSample2010.xml|col2=A dictator application UI sample for Office 2010}}
 +
{{DocTableNakedEntry | col1=BackstageSample1.xml|col2=A Backstage sample (Office 2010+)}}
 +
{{DocTableNakedEntry | col1=BackstageSample2.xml|col2=A Backstage sample (Office 2010+)}}
 +
{{DocTableNakedEntry | col1=XMLSamplesLoader.xls|col2=Automates loading of the XML samples and provides delegate stubs for control callbacks}}
 +
{{DocTableEnd}}

Revision as of 17:51, 17 March 2013

Before we start

Before we get started you need to:


Introduction

Dynamic RibbonX fully supports XML. All controls are serializable to XML and instantiatable from XML. The main package installs a few XML samples and a workbook (XMLSamplesLoader.xls) that can load the samples and contains delegate stubs for control callbacks.


Locating the samples

To locate the samples:

  • Navigate to the Samples Directory through the Dynamic RibbonX Start Menu shortcut.
  • Find the samples under XML
  • Open workbook XMLSamplesLoader.xls and use its UI to load the samples.


Samples reference

Sample File Name
Description
RibbonSample1.xml A Ribbon sample
RibbonSample2.xml A Ribbon sample
DictatorSample2007.xml A dictator application UI sample for Office 2007
DictatorSample2010.xml A dictator application UI sample for Office 2010
BackstageSample1.xml A Backstage sample (Office 2010+)
BackstageSample2.xml A Backstage sample (Office 2010+)
XMLSamplesLoader.xls Automates loading of the XML samples and provides delegate stubs for control callbacks