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
425
Embedded Editor Refresh
posted

I have a TreeView control which uses multiple different types of embedded editors at each node.  I'm having a problem with one editor in particular which has EditorButtons on it.  There is code that changes the Visible and/or Enabled state of the EditorButtons, but although this code works fine for this control when it is not in the TreeView (just on a normal WinForm object),  it doesn't want to refresh the visible status of the control when within the TreeView.  I'm sure this has something to do with the nature of how embedded editors are handled, but I've tried everything I can think of from a direct Invalidate and Refresh call on both the embedded control and TreeView parent to my own DrawFilter.  Certainly there is some event or method that I'm missing that is failing to force the embedded control from reflecting the current properties of the Editor Buttons?  Thanks