Settings Pane, Tab move first?

4 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 10 Jun 2014 Link to this post

    Hi,

    we add a custom tab to the settings pane. This Tab is placed behind all standard tabs. Is
    it possible to move the custom tab to first position or die select this tab on opening the
    settings pane?

    See attached pic!

    Thanks
    Regards
    Rene
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 10 Jun 2014 Link to this post

    Hello Rene,

    You can add / remove / reorder tabs in the SettingsPane by editing the SettingsPaneViewStyle. Here you can find more info about the Template  Structure of SettingsPaneView. You can also check our Custom SettingsPane example in GitHub. In Resources.xaml you can see and edited Style targeting SettingsPaneView in which you can directly add/remove reorder new / existing tabs.

    Regards,
    Petar Mladenov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 10 Jun 2014 in reply to Petar Mladenov Link to this post

    Hi,

    thanks a lot, but is there no easier way to do this?

    Best Regards
    Rene
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 11 Jun 2014 Link to this post

    Hello Rene,

    We think this is the correct and easier to maintain way to achieve customizing tabs in SettingsPane. Adding Tab can also be achieved in code behind with subscribing to events / OnApplyTemplate but it is considered a bad practice.

    Regards,
    Petar Mladenov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top