KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm creating a specific style for some TabControl in my application. <TabControl Style="{StaticResource MyTabControl}"> </TabControl> I want to also style TabItem in the case of this specific TabControl's Style. For now, I must write : <TabControl Style="{StaticResource MyTabControl}"> <TabItem Style="{StaticResource MyTabItem}" Header="First" /> <TabItem Style="{StaticResource MyTabItem}" Header="Second" /> </TabControl> Instead of having to specify the "MyTabItem" style on each TabItem, is there any way to set the default TabItem style only in the scope of a specific TabControl Style ? I didn't found a way to specify, in the style of my TabControl, which style should be applied on all children TabItems.
Tags (comma-separated)
Save Edits
Cancel