Articles in this section
Category / Section

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

1 min read

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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied