Page History
...
Element | Description | Version Introduced | Pro Version Introduced |
---|---|---|---|
<Control> | The root element for the SRP Ribbon Control. | 1.0 | 3.2 |
Child Elements
The following elements can be children of this one.
Element | Description | Appears | Version Introduced | Pro Version Introduced |
---|---|---|---|---|
<Button> | A button control associated with a command. | Zero or once | 1.0 | 3.2 |
<CheckBox> | A check box control. | Zero or once | 1.0 | 3.2 |
<ComboBox> | A combo box control. | Zero or once | 1.0 | 3.2 |
<DateField> | A date field control with a calendar drop down. | Zero or once | 1.0 | 3.2 |
<EditField> | An edit field control. | 1.0 | 3.2 | |
<Label> | A label control that only display some text. | 1.0 | 3.2 | |
<SplitButton> | A button control with a drop down that can contain other controls. | Zero or once | 1.0 | 3.2 |
Attributes
No attributes.
Remarks
The QuickAccessControls element defines the control that appear in the small toolbar that appears at the top of the ribbon by default. As the name suggests, this is meant for a select few controls (typically plain buttons) that are often used. A save button is a good example, but you can place any control you want onto it.
Example
...
Code Block |
---|
<QuickAccessControls> <Button Key="BTN_SAVE"> <Command Key="SAVE" Caption="Save" Enabled="False" LargeIcon="Images\32x32\save.png" SmallIcon="Images\16x16\save.png" Tooltip="Saves the document." /> </Button> <Button Key="BTN_UNDO" Command="UNDO" /> </QuickAccessControls> |
...