Hi
I set an UltraTreeNode in edit mode by calling BeginEdit(). At some later time I want to check if a tree node is in edit mode. I thought the IsEditing should tell me, but it doesn't, it remains false.
James
UltraTreeNode.IsEditing is supposed to return true when an edit mode session is in progress on a node. Note that if you check the property on a button click, for example, it will return false because causing the control to lose focus takes it out of edit mode. If you are certain that the control has focus and you have not somehow caused the node to be taken out of edit mode, you should report this as a bug.
Thanks for replying. In the debugger i guess the control hasn't got the focus and so IsEditing shows as false, and it also does when using UltraTreeNodes in unit tests as I am not use a tree.
Boz
You can't edit a node that is not associated with an UltraTree, so any unit tests like that would not be valid.
Sorry, I am using a tree in the tests, but it's in a test module, not on a form. Is this why IsEditing is false, because the control can't have the focus?
No, all done thanks.
Hello Boz,
Do you any more questions on this matter?
Sincerely,MatteoDeveloper Support EngineerInfragisticswww.infragistics.com/support
yes