Autohide delay for Dockable Content

Feb 22, 2010 at 8:06 PM

Does anyone know what the preference is to speed up the delay so the auto hide dockable content hide sooner?

Mar 18, 2010 at 10:01 PM

Editing the code is the only option at this time, look in FlyoutPaneWindow.cs

Mar 26, 2010 at 2:12 AM

Have a look at FlyoutPaneWindow.cs as matelich said. Look for closing timer.

I have updated this one form 2 seconds to 250 milliseconds.

protected override void OnInitialized(EventArgs e)
{
            base.OnInitialized(e);

            if (ReferencedPane == null)
            {
                this._refPane = this.Content as FlyoutDockablePane;
            }
            if (ReferencedPane != null)
            {
                Content = ReferencedPane;

                this._closingTimer = new DispatcherTimer(
                            new TimeSpan(0, 0, 0, 0, 250),
                            DispatcherPriority.Normal,
                            new EventHandler(OnCloseWindow),
                            Dispatcher.CurrentDispatcher);
            }
}