Skip to content

Commit

Permalink
chore: removing unnecessary setters- CommandBar
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunal22shah committed Jun 17, 2024
1 parent 41a0d34 commit 8cedb09
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/library/Uno.Material/Styles/Controls/v2/CommandBar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,6 @@
<!-- Define the base style for Material CommandBar -->
<Style x:Key="MaterialBaseCommandBarStyle" TargetType="CommandBar">
<!-- Setting content to empty to avoid getting the datacontext -->
<Setter Property="Content" Value="" />
<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock Text="{Binding}" Style="{StaticResource MaterialTitleLarge}" />
</DataTemplate>
</Setter.Value>
</Setter>

<Setter Property="Background" Value="{ThemeResource SurfaceBrush}" />
<Setter Property="Foreground" Value="{ThemeResource OnSurfaceBrush}" />
Expand Down

0 comments on commit 8cedb09

Please sign in to comment.