This is a migrated thread and some comments may be shown as answers.

Settings Pane, Tab move first?

3 Answers 119 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 10 Jun 2014, 09:52 AM
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

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 10 Jun 2014, 11:07 AM
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.
 
0
ITA
Top achievements
Rank 1
answered on 10 Jun 2014, 01:47 PM
Hi,

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

Best Regards
Rene
0
Petar Mladenov
Telerik team
answered on 11 Jun 2014, 06:45 AM
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.
 
Tags
Diagram
Asked by
ITA
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
ITA
Top achievements
Rank 1
Share this question
or