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
140
How to hide thebottom navigation pane area?
posted

Dear Friends

I am using the WinExplorerBar to create an outlook style ui.

I just want to hide the bottom navigation pane completely. I tried with the creation filter But it hide only the icons. But a blank bar comes in the last.

 

How to hide that blank bar too?

--

This is my creation filter coding.

 

internal class QuickCustomizeButtonCreationFilter : IUIElementCreationFilter

{

    #region IUIElementCreationFilter Members

     public void AfterCreateChildElements(UIElement parent)

    {

       // do nothing

    }

    public bool BeforeCreateChildElements(UIElement parent)

    {

        if( parent is Infragistics.Win.UltraWinExplorerBar.NavigationOverflowQuickCustomizeButtonUIElement

            || parent is Infragistics.Win.UltraWinExplorerBar.NavigationSplitterBarUIElement

            || parent is Infragistics.Win.UltraWinExplorerBar.NavigationOverflowButtonImageUIElement)

        {

            parent.Parent.ChildElements.Remove(parent);

            parent.Dispose();

             return true;

        }

        else if(parent is Infragistics.Win.UltraWinExplorerBar.NavigationOverflowButtonUIElement)

        {

            ((Infragistics.Win.UltraWinExplorerBar.NavigationOverflowButtonUIElement)parent).Rect = new System.Drawing.Rectangle(0,0,0,0);

             return true;

        }

         return false;

 

    }

     #endregion

}

 

-------------

 

Thanks & Regards

Prakash