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
295
Hiding Close button and Active files of XamDockManager
posted

Hello,

Is it possible to hide the close button and active files menu of XamDockManager .

If then please provide a sample.

Thanks in advance

Vivek

Parents
No Data
Reply
  • 54937
    Offline posted

    It sounds like you are referring to the Close button and Files menu within the TabGroupPane that is within the DocumentContentHost. If you want to hide/remove those then you would need to re-template the TabGroupPane. I would recommend taking a copy of the TabGroupPane template that has a key of TabGroupPane.DocumentTabGroupTemplateKey and altering it to fit your needs (in this case removing the closeBtn and filesMenu). We provide a copy of the default xaml in the DefaultStyles directory (e.g. C:\Program Files\Infragistics\NetAdvantage 2011.1\WPF\DefaultStyles\DockManager).

Children