This is a migrated thread and some comments may be shown as answers.

DropDownButton Popup Location

0 Answers 33 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
Leandro
Top achievements
Rank 1
Leandro asked on 20 Sep 2018, 05:54 PM

Hey, is there a way to change the popup location of RadDropDownButton? I'm currently trying to put it over the button and at the right side. See screenshot to know what I mean. It's is not showing correctly because the edge of the screen. 

I've tried setting the popup bound but it don't work

btnOpcoesTela.DropDownButtonElement.DropDownMenu.PopupOpened += DropDownMenu_PopupOpened;
private void DropDownMenu_PopupOpened(object sender, EventArgs args)
        {
            var popup = sender as RadDropDownButtonPopup;
             
            popup.SetBounds(10, 5, popup.Width, popup.Height);
             
        }

No answers yet. Maybe you can help?

Tags
Buttons, RadioButton, CheckBox, etc
Asked by
Leandro
Top achievements
Rank 1
Share this question
or