Set Popup Size - GridLookUpEdit

0

Would anyone know how to decrease the popup, presented by the GridLookUpEdit control of DevExpress?

    
asked by anonymous 12.09.2016 / 19:45

1 answer

1

You should treat the QueryPopup event and modify the popup size by assigning a Size to the values you want:

private void gridLookUpEdit1_QueryPopUp(object sender, CancelEventArgs e) {
    GridLookUpEdit editor = (GridLookUpEdit)sender;
    RepositoryItemGridLookUpEdit properties = editor.Properties;
    // mudando apenas a largura, mas não a altura, por exemplo:
    properties.PopupFormSize = new Size(500, properties.PopupFormSize.Height);
}
    
19.10.2016 / 17:17