Style TabView #722
|
I am trying to use the TabView component and want to style the tab header colors. How would you recommend on doing that? The documentation (https://enisn-projects.io/docs/en/uranium/latest/themes/material/components/TabView) is replacing the whole button with a custom implementation - which would require to add logic for selection, Commands etc. Is there a way to only style the header according to its state (selected / not selected? |
Replies: 2 comments 1 reply
|
Currently, the default template implemented with DataTriggers. But it's on my roadmap, I'll make add styling and visual states like treeview: Unfortunately, there is no styling logic for now |
|
I do have issues when I use CommunityToolkit MVVM with Tabview Button.Triggers. It looks for 'Command' and 'Title' in the viewmodel (BindingContext) rather than in Materia: For example |
Currently, the default template implemented with DataTriggers.
UraniumUI/src/UraniumUI.Material/Controls/TabView.cs
Line 38 in 181f131
But it's on my roadmap, I'll make add styling and visual states like treeview:
https://enisn-projects.io/docs/en/uranium/latest/themes/material/components/TreeView#styles
Unfortunately, there is no styling logic for now