Hi,
I have implemented Keyboard Functionality for rename,When i press F2 key for editing the node it will edit for second press or need to press and hold a sec.
Please find the below Code..
void treeview_KeyDown(object sender, KeyEventArgs e)
{
if(e.Key==Key.F2)
{
treeview.IsEditable = true;
// e.Handled = true;
}
}
}
Please help me ASAP.
Regards,
Ranjith
I have implemented Keyboard Functionality for rename,When i press F2 key for editing the node it will edit for second press or need to press and hold a sec.
Please find the below Code..
void treeview_KeyDown(object sender, KeyEventArgs e)
{
if(e.Key==Key.F2)
{
treeview.IsEditable = true;
// e.Handled = true;
}
}
}
Please help me ASAP.
Regards,
Ranjith