Set Popup Size - Gridlookupedit

Asked

Viewed 96 times

0

Someone would know how to decrease the popup, presented by the control GridLookUpEdit devexpress?

inserir a descrição da imagem aqui

1 answer

1


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

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);
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.