Completed
Last Updated: 22 Jul 2019 14:50 by ADMIN
Release R3 2019 (LIB 2019.2.729)
Riziq
Created on: 05 Feb 2019 10:16
Category: UI for WinForms
Type: Bug Report
1
FIX. RadDropDownButton - the pop-up location is not changed when right-to-left is enabled

Workaround:

private void RadDropDownButton1_DropDownOpening(object sender, EventArgs e)
{
    var args = e as RadPopupOpeningEventArgs;
    var popupSize = radDropDownButton1.DropDownButtonElement.DropDownMenu.Size;
    var x = args.CustomLocation.X - (popupSize.Width - radDropDownButton1.Width);
    args.CustomLocation = new Point(x, args.CustomLocation.Y);
}

0 comments