Windows 7 Ribbon: How to specify "Four buttons, two big, two small"? -
On laying a group, Windows supports Ribbon Framework, one of the layouts, which four The buttons are called FourButtons
This layout has 3 different sizes, large , middle , and small in each case:
large :
small :
I am currently using the predefined template in my XML file in the
& lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Application xmlns = "http://schemas.microsoft.com/windows/2009/Ribbon" & gt; ... & lt; Application View & gt; & Lt; Ribbon & gt; ... & lt; Ribbon Tabs & gt; & Lt; Tab CommandName = "tabHome" & gt; & Lt; Group commandname = "grpActivity" SizeDefinition = "FourButtons" & gt; & Lt; Button CommandName = "cmd startup" /> & Lt; Button CommandName = "cmdStopWorking" /> & Lt; Button CommandName = "cmd print" / & gt; & Lt; Button CommandName = "cmdDuplicateTicket" /> & Lt; / Groups & gt; & Lt; / Tab & gt; & Lt; /Ribbon.Tabs> & Lt; / Ribbon> & Lt; /Application.Views> & Lt; / Application & gt;
and you can see the line
& lt; Group commandname = "grpActivity" SizeDefinition = "FourButtons" & gt;
Specifies the four buttons
layout template.
and my layout four buttons :
I do not want four buttons layout, four buttons, two large two small "should
in the same way that three buttons - OneBeat endowload
:
and a five buttons
:
call me a FourButtons-TwoBigTwoSmall
, which I can manually duplicate:
Unfortunately declarative programming let me know as a programmer.
Understand declarative language examples at the bottom of the page and Four Button-DobbyTsocial template?
Note: All beautiful graphics, formatting, links, and materials are used to attract squirrels - those who love shiny graphics and if you really In this I can use your help actually .
You Bigbutton EndSmaltButtononInputs SizeDefinition
such as < / P>
& lt; Group command name = "cmdGroupBatch" SizeDefinition = "BigButtonsAndSmallButtonsOrInputs" & gt; Should use. & Lt; ControlGroup & gt; & Lt; Button CommandName = "cmdbuttonGetBatch" /> & Lt; Button CommandName = "cmd Button Button" /> & Lt; / ControlGroup & gt; & Lt; ControlGroup & gt; & Lt; Button CommandName = "cmd button button" /> & Lt; Button CommandName = "cmdButtonDiscartBatch" /> & Lt; / ControlGroup & gt; & Lt; / Groups & gt;
If your group is size = "big" in your tab, just check it out.
Comments
Post a Comment