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
205
how to detect image cell in ultraTree1_MouseEnterElement()?
posted

I used the following code to show tooltip.  It works fine with text but not for image cell.  Looks like it was due to element == null.  How to make it work for image cell?  Thanks.

private void ultraTree1_MouseEnterElement(object sender, UIElementEventArgs e)

 

 

{

EditorWithTextUIElement element = e.Element as EditorWithTextUIElement;

if (element != null)

 

)

Parents
No Data
Reply
  • 469350
    Offline posted

    EditorWithTextUIElement is the edit element for text cells. So if you want an element that exists for every cell, then you should use UltraTreeNodeCellUIElement.

    You might want to download the Infragistics UIElementViewer Utility. It will help a lot when working with UIElements like this.

Children
No Data