)
We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to specify the QAT dropdown button alignment in the WinForms RibbonControlAdv?

Platform: WinForms |
Control: RibbonControlAdv |
Published Date: August 11, 2015 |
Last Revised Date: January 8, 2020
Tags: ribbon, alignment, qat

QAT dropdown button

In the RibbonControlAdv, the QAT DropDownButton is placed at the right side of the Menu button and at the left side of the ToolStripTabItems, by default. The QAT DropDown button alignment can be customized in the following categories:

  1. Left: To specify the QAT DropDownButton alignment to the left.
  2. Right: To specify the right alignment of the QAT DropDown button.

The QAT DropDown button can be placed either at the left or right side of the ToolStripTabItems by using the QuickPanelAlignment property in the RibbonControlAdv.

C#

//Specifies the QAT DropDown button at the default left position.
this.ribbonControlAdv1.QuickPanelAlignment = QuickPanelAlignment.Left;
//Specifies the QAT DropDown button at the right side of the ToolStripTabItems.
this.ribbonControlAdv1.QuickPanelAlignment = QuickPanelAlignment.Right;

VB

'Specifies the QAT DropDown button at the default left position.
Me.ribbonControlAdv1.QuickPanelAlignment = QuickPanelAlignment.Left
'Specifies the QAT DropDown button at the right side of the ToolStripTabItems.
Me.ribbonControlAdv1.QuickPanelAlignment = QuickPanelAlignment.Right

 

Note:

The QuickPanelAlignment property is only applicable when the RibbonStyle is set as TouchStyle.

 

QAT Dropdown button placed in default location

Figure 1: QAT DropDown button aligned in default location

QAT Dropdown button placed in right side of toolstriptab item

Figure 2: QAT DropDown button aligned at the right side of the ToolStripTab item

Samples:

C#: QAT_DropDown_C#

VB: QAT_DropDown_VB

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon