Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
Context Menu
posted

Can someone walk me through adding a context menu to UltraTreeView Node

 

I already have a treeview set up

 

 

private

 

 

void ultraTree_MouseUp(object sender, MouseEventArgs e)

{

 

 

ContextMenu contextMenu = new ContextMenu();

 

 

if (e.Button == MouseButtons.Right)

{

   This is where I want to add the context meun when I right click, can someone assist me, this will be my first time adding a context menu dynamically

}

}