1 <?xml version='1.0' encoding='utf-8'?>
\r
2 <Application xmlns='http://schemas.microsoft.com/windows/2009/Ribbon'>
\r
3 <!-- Commands section -->
\r
4 <Application.Commands>
\r
6 <Command Name="cmdTab1"
\r
7 Comment="These comments are optional and are inserted into the header file."
\r
8 Symbol="IDC_CMD_TAB1"
\r
10 <Command.LabelTitle>
\r
11 <String Id ="200">Tab 1</String>
\r
12 </Command.LabelTitle>
\r
14 <!-- Optional Symbol and Id properties are not defined for the following commands.
\r
15 A Symbol same as the name of the command
\r
16 and a valid Id for this command will be automatically generated. -->
\r
17 <Command Name="cmdGroup1">
\r
18 <!-- This image is used for when the group shrinks into a "pop-up". The other groups
\r
19 in the markup don't display as pop-ups, so we don't specify an image for them. -->
\r
20 <Command.SmallImages>
\r
21 <Image Id="201">res/Button_Image.bmp</Image>
\r
22 </Command.SmallImages>
\r
24 <Command Name="cmdGroup2"/>
\r
25 <Command Name="cmdGroup3"/>
\r
26 <Command Name="cmdGroup4"/>
\r
27 <Command Name="cmdButton1">
\r
28 <Command.LabelTitle>
\r
29 <String Id ="210">Button 1</String>
\r
30 </Command.LabelTitle>
\r
31 <!-- Providing both large and small images isn't required, but it usually improves the look
\r
32 of your application if the control size changes. -->
\r
33 <Command.LargeImages>
\r
34 <Image Id="211">res/AddTableL.bmp</Image>
\r
35 </Command.LargeImages>
\r
36 <Command.SmallImages>
\r
37 <Image Id="212">res/AddTableS.bmp</Image>
\r
38 </Command.SmallImages>
\r
40 <Command Name="cmdButton2">
\r
41 <Command.LabelTitle>
\r
42 <String Id ="220">Button 2</String>
\r
43 </Command.LabelTitle>
\r
44 <Command.LargeImages>
\r
45 <Image Id="221">res/DeleteTableL.bmp</Image>
\r
46 </Command.LargeImages>
\r
47 <Command.SmallImages>
\r
48 <Image Id="222">res/DeleteTableS.bmp</Image>
\r
49 </Command.SmallImages>
\r
51 <Command Name="cmdButton3">
\r
52 <Command.LabelTitle>
\r
53 <String Id ="230">Button 3</String>
\r
54 </Command.LabelTitle>
\r
55 <Command.LargeImages>
\r
56 <Image Id="231">res/PrintRelationshipsL.bmp</Image>
\r
57 </Command.LargeImages>
\r
58 <Command.SmallImages>
\r
59 <Image Id="232">res/PrintRelationshipsS.bmp</Image>
\r
60 </Command.SmallImages>
\r
62 <Command Name="cmdButton4">
\r
63 <Command.LabelTitle>
\r
64 <String Id ="240">Button 4</String>
\r
65 </Command.LabelTitle>
\r
66 <Command.LargeImages>
\r
67 <Image Id="241">res/AddTableL.bmp</Image>
\r
68 </Command.LargeImages>
\r
69 <Command.SmallImages>
\r
70 <Image Id="242">res/AddTableS.bmp</Image>
\r
71 </Command.SmallImages>
\r
73 <Command Name="cmdButton5">
\r
74 <Command.LabelTitle>
\r
75 <String Id ="250">Button 5</String>
\r
76 </Command.LabelTitle>
\r
77 <Command.SmallImages>
\r
78 <Image Id="251">res/Cut.bmp</Image>
\r
79 </Command.SmallImages>
\r
81 <Command Name="cmdButton6"/>
\r
82 <Command Name="cmdToggleButton1">
\r
83 <Command.LabelTitle>
\r
84 <String Id ="260">ToggleButton 1</String>
\r
85 </Command.LabelTitle>
\r
86 <Command.LargeImages>
\r
87 <Image Id="261">res/AddTableL.bmp</Image>
\r
88 </Command.LargeImages>
\r
89 <Command.SmallImages>
\r
90 <Image Id="262">res/AddTableS.bmp</Image>
\r
91 </Command.SmallImages>
\r
93 <Command Name="cmdToggleButton2">
\r
94 <Command.LabelTitle>
\r
95 <String Id ="270">ToggleButton 2</String>
\r
96 </Command.LabelTitle>
\r
97 <Command.SmallImages>
\r
98 <Image Id="271">res/Copy.bmp</Image>
\r
99 </Command.SmallImages>
\r
101 <Command Name="cmdQat"/>
\r
102 <Command Name="cmdFileMenu"/>
\r
103 <Command Name="cmdMRUList">
\r
104 <Command.LabelTitle>
\r
105 <String Id ="280">MRU List</String>
\r
106 </Command.LabelTitle>
\r
108 <Command Name="cmdExit" Symbol="IDC_CMD_EXIT">
\r
109 <Command.LabelTitle>
\r
110 <String Id ="290">Exit Button</String>
\r
111 </Command.LabelTitle>
\r
112 <Command.LargeImages>
\r
113 <Image Id ="291">res/ExitL.bmp</Image>
\r
114 </Command.LargeImages>
\r
116 </Application.Commands>
\r
117 <Application.Views>
\r
119 <Ribbon.ApplicationMenu>
\r
120 <ApplicationMenu CommandName="cmdFileMenu">
\r
121 <ApplicationMenu.RecentItems>
\r
122 <RecentItems CommandName="cmdMRUList" MaxCount="1" />
\r
123 </ApplicationMenu.RecentItems>
\r
124 <MenuGroup Class="MajorItems">
\r
125 <Button CommandName="cmdExit" />
\r
128 </Ribbon.ApplicationMenu>
\r
130 <Tab CommandName="cmdTab1">
\r
131 <Tab.ScalingPolicy>
\r
133 <ScalingPolicy.IdealSizes>
\r
134 <!-- This describes the maximum size of each group in the tab. -->
\r
135 <Scale Group="cmdGroup1" Size="Large" />
\r
136 <Scale Group="cmdGroup2" Size="Large" />
\r
137 <Scale Group="cmdGroup3" Size="Large" />
\r
138 <Scale Group="cmdGroup4" Size="Large" />
\r
139 </ScalingPolicy.IdealSizes>
\r
140 <!-- This describes the order and how the groups shrink when the window is
\r
142 <Scale Group="cmdGroup3" Size="Medium" />
\r
143 <Scale Group="cmdGroup4" Size="Medium" />
\r
144 <Scale Group="cmdGroup1" Size="Popup" />
\r
145 <Scale Group="cmdGroup4" Size="Small" />
\r
146 <Scale Group="cmdGroup2" Size="Medium" />
\r
148 </Tab.ScalingPolicy>
\r
149 <Group CommandName="cmdGroup1" SizeDefinition="OneButton">
\r
150 <Button CommandName="cmdButton1" />
\r
152 <Group CommandName="cmdGroup2" SizeDefinition="TwoButtons">
\r
153 <Button CommandName="cmdButton2" />
\r
154 <Button CommandName="cmdButton3" />
\r
156 <Group CommandName="cmdGroup3" SizeDefinition="ThreeButtons">
\r
157 <!-- You can put the same commands into multiple groups. -->
\r
158 <Button CommandName="cmdButton1" />
\r
159 <Button CommandName="cmdButton2" />
\r
160 <Button CommandName="cmdButton3" />
\r
162 <!-- The SizeDefinitions describe how many buttons are in the group and how the
\r
163 individual elements inside the group shrink. -->
\r
164 <Group CommandName="cmdGroup4" SizeDefinition="FiveOrSixButtons">
\r
165 <Button CommandName="cmdButton3" />
\r
166 <Button CommandName="cmdButton4" />
\r
167 <ToggleButton CommandName="cmdToggleButton1" />
\r
168 <Button CommandName="cmdButton5" />
\r
169 <ToggleButton CommandName="cmdToggleButton2" />
\r
173 <Ribbon.QuickAccessToolbar>
\r
174 <QuickAccessToolbar CommandName="cmdQat" />
\r
175 </Ribbon.QuickAccessToolbar>
\r
177 </Application.Views>
\r