We are using RadContextMenu (winforms). It works fine.
But we would like to remove/hide the icon column because in most cases our items don't have icon/image.
Do you know if it is possible ?
Thanks.
Alain.
1 Answer, 1 is accepted
0
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 16 Oct 2023, 10:02 AM
Hello, Alain,
If you want to reduce the space that appears on the left side in drop-down menu in RadContextMenu, please refer to the following code snippet:
RadDropDownMenuElement el = this.radContextMenu1.DropDown.PopupElement as RadDropDownMenuElement;
RadDropDownMenuLayout layout = el.LayoutPanel as RadDropDownMenuLayout;
layout.LeftColumnMinWidth = 0;
I hope this helps. Should you have any other questions do not hesitate to ask.