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
145
Howto catch NavigationPaneFlyout Resize event
posted

Hi,
how can I catch the resize event of the NavigationPane's Flayout panel?
Thanks,
migeold.

  • 69832
    Verified Answer
    Offline posted

    private void ultraExplorerBar1_NavigationPaneFlyoutDisplayed( object sender, EventArgs e )
    {
        UltraExplorerBar explorerBar = sender as UltraExplorerBar;
        NavigationPaneFlyoutContainerControl flyout =
            DropDownManager.GetCurrentDropDownControl( explorerBar )
            as NavigationPaneFlyoutContainerControl;

        if ( flyout != null )
        {
            flyout.Resize -= new EventHandler(this.flyout_Resize);
            flyout.Resize += new EventHandler(this.flyout_Resize);
        }
    }

    private void flyout_Resize(object sender, EventArgs e)
    {
    }