How do I control the alignment of RadSplitButton's dropdown content frame?

1 Answer 22 Views
Buttons
Joe
Top achievements
Rank 2
Iron
Veteran
Iron
Joe asked on 01 Apr 2022, 08:58 PM | edited on 01 Apr 2022, 08:59 PM
I've got a RadSplitButton.  I want the dropdown's content frame to be aligned on the left, along with the left edge of the main button .  On my machine it is like this (see the first attachment, "splitbuttongood.jpg"). 

But on my colleague's machine, the dropdown content frame is aligned to the right, along with the button that makes it appear. (see the second attachment, "splitbuttonbad.jpg")>


Is there a property I can set to control this?  Do I have to retemplate the entire control?

I should add, this exactly the same code in both cases that's producing this different effect on the two machines

1 Answer, 1 is accepted

Sort by
0
Stenly
Telerik team
answered on 04 Apr 2022, 02:58 PM

Hello Joe,

The drop-down menu, which opens when clicking the RadSplitButton control, could be positioned by utilizing its DropDownPlacement property. With that said, could you try setting this property to a value that meets your requirements?

Regarding the same implementation, but the different outcomes, the Popup element in WPF (used in displaying the drop-down menu) is affected by the Windows OS menu settings. More detailed information on this matter can be found in our Popup Content Position article, which also shows an example of how to modify this behavior via code.

I hope the provided information would be of help to you.

Regards,
Stenly
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Buttons
Asked by
Joe
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Stenly
Telerik team
Share this question
or