diff --git a/WindowsForms/Ribbon/Ribbon-Form.md b/WindowsForms/Ribbon/Ribbon-Form.md index 59ad6c68f..15cbdc43b 100644 --- a/WindowsForms/Ribbon/Ribbon-Form.md +++ b/WindowsForms/Ribbon/Ribbon-Form.md @@ -2,7 +2,7 @@ layout: post title: Ribbon Form in Windows Forms Ribbon control | Syncfusion description: Learn about Ribbon Form support in Syncfusion Windows Forms Ribbon (RibbonControlAdv) control and more details. -platform: WindowsForms +platform: windowsforms control: RibbonControlAdv documentation: ug --- @@ -75,6 +75,28 @@ Me.EnableAeroTheme = True N>[View sample in GitHub](https://github.com/SyncfusionExamples/How-to-customize-the-appearance-of-the-RibbonForm) +## IconSize + +The icon size can be customized between 16 to 32 pixels using the `IconSize` property. By default, the icon rendered with a size of 16x16 pixels. + +{% tabs %} + +{% highlight c# %} + +this.IconSize = new Size(32,32); + +{% endhighlight %} + +{% highlight vbnet %} + +Me.IconSize = New Size(32, 32) + +{% endhighlight %} + +{% endtabs %} + +![RibbonForm with IconSize 32](Ribbon_Form_Images/IconSize.png) + ## Customization The property which lets you set borders for the Office2007Style form is as follows. diff --git a/WindowsForms/Ribbon/Ribbon_Form_Images/IconSize.png b/WindowsForms/Ribbon/Ribbon_Form_Images/IconSize.png new file mode 100644 index 000000000..fab5bcd33 Binary files /dev/null and b/WindowsForms/Ribbon/Ribbon_Form_Images/IconSize.png differ