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
3166
Sometimes AutoHidden controls does not call Control,Load
posted

Hi,

Sometimes when I restore an AutoHidden (DockPane) using LoadFromXML the Control's Load event is not called.

Or may the sequence of my call is the problem. I create the control(s) and dock pane. After all the controls and panes are created I call LoadFromXML. Does it call Close in this process?

Is there any other event I can use to Initialize the control?

Bhavesh

 

Parents
No Data
Reply
  • 44743
    posted

    You can hook into the PaneDisplayed event. When it is fired, if the control associated with the pane has not yet been initialized, you can initialize it.

Children
No Data