diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-09 14:08:26 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-09 14:08:26 +0300 |
commit | 5a641d83d8e8ee9c977d3867f195447cd1164bef (patch) | |
tree | 585e829f0de7db38d74df4153ce9f76066fcdc8d /Source/Ribbon | |
parent | 0e92b45e3133788b15bf0a6c46f3317315363c8b (diff) |
Add settings button and icons to ribbon
Diffstat (limited to 'Source/Ribbon')
-rw-r--r-- | Source/Ribbon/RibbonController.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/Ribbon/RibbonController.cs b/Source/Ribbon/RibbonController.cs index 7fa2ac8..94d3b0d 100644 --- a/Source/Ribbon/RibbonController.cs +++ b/Source/Ribbon/RibbonController.cs @@ -10,14 +10,18 @@ namespace RehauSku.Ribbon { public override string GetCustomUI(string RibbonID) { + return @" <customUI xmlns='http://schemas.microsoft.com/office/2006/01/customui'> <ribbon> <tabs> - <tab id='tab1' label='REHAU'> - <group id='group1' label='Прайс-лист'> - <button id='button1' label='Экспорт' onAction='OnButtonPressed'/> - </group > + <tab id='rau' label='REHAU'> + <group id='priceList' label='Прайс-лист'> + <button id='exportToPrice' label='Экспорт' size='large' imageMso='PivotExportToExcel' onAction='OnButtonPressed'/> + </group> + <group id='rausettings' label='Настройки'> + <button id='set' label='Настройки' size='large' imageMso='CurrentViewSettings' onAction='OnButtonPressed'/> + </group> </tab> </tabs> </ribbon> |