Mahapps.metro: How can i get a single row tabcontrol style but without animated?

Created on 21 Sep 2013  路  6Comments  路  Source: MahApps/MahApps.Metro

The animation is good,but sometimes it makes the content shake and mess,so how to use just the single row attribute?

All 6 comments

I got it ! Behaviours:ReloadBehavior.OnSelectedTabChanged="False" ,so easy!!!

@punker76 e ,you can close the issue named the same as this one,i created double for mistake! The issue number :#669

I realize that this is very old, but where would I place the line that zhouzhipeng mentioned? I'm having the same functionality requirements.

@Kwazzi I would assume something like this:

<MetroAnimatedSingleRowTabControl Behaviours:ReloadBehavior.OnSelectedTabChanged="False">
...

I actually ended up copying the source code for the tab control and modifying the animation out in my App.xaml file. I tried what you just suggested initially, but it didn't work out.

I got it ! Behaviours:ReloadBehavior.OnSelectedTabChanged="False" ,so easy!!!

@zhouzhipeng
Close Issue without write a clear description how to add it or where ?
// Add Code Side but it need Content Type not TabControl ? MahApps.Metro.Behaviors.ReloadBehavior.SetOnSelectedTabChanged(TabControl ?? ,false);

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nova669 picture Nova669  路  3Comments

punker76 picture punker76  路  4Comments

bbougot picture bbougot  路  3Comments

Hikerakashiya picture Hikerakashiya  路  5Comments

bardospeter picture bardospeter  路  3Comments