Close button in each radpane tab

4 posts, 1 answers
  1. TLDesigner
    TLDesigner avatar
    10 posts
    Member since:
    Aug 2011

    Posted 09 Aug 2011 Link to this post

    Hello,

    I'm looking for putting the close button next to the header of the radpane. It will be useful for us.
    Someone knows how to do it or give me some info?

    Regards.
  2. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 09 Aug 2011 Link to this post

    Hi Fran,

    Please find attached a sample application in which this is illustrated. Please mind for the NOTE comments which point to the place where changes have been made.

    Hope this helps.

    Kind regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. TLDesigner
    TLDesigner avatar
    10 posts
    Member since:
    Aug 2011

    Posted 10 Aug 2011 Link to this post

    Thanks for it.

    But, I have referenced telerik dlls and in shell.xaml.cs (code-behind) I need to call...
    StyleManager.ApplicationTheme = new Office_BlueTheme();

    ... it's only declared one time for all modules, just in the shell.
    How can I implement the {StaticResource DockingStyle} that your attachment has.

    Thanks.
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 11 Aug 2011 Link to this post

    Hello Fran,

    You can either put the style in the App.xaml file or you could copy them in each view, but the second approach leads to code duplication. You can refer to these discussions concerning the issue:

    Regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Back to Top