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
918
Firing the explorer bar ExplorerBar_ItemClick from code
posted

When my form first loads I would like to fire this event without a mouse click.  How would I do that.

Parents
No Data
Reply
  • 69832
    Offline posted

    There is no way to actually trigger the event short of deriving a class from the control and calling the protected OnItemClick method. However, you can call the event handler directly, since the ItemEventArgs class exposes a public constructor. That would cause the same code to get executed as when the control's event is fired.

Children