Skip to content

Commit

Permalink
Merge pull request #315 from irihitech/rc/313-content-control-template
Browse files Browse the repository at this point in the history
Remove default implementation of ContentControl and UserControl
  • Loading branch information
rabbitism authored Mar 15, 2024
2 parents 13e9364 + dad406e commit 8b4a670
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 59 deletions.
22 changes: 0 additions & 22 deletions src/Semi.Avalonia/Controls/ContentControl.axaml

This file was deleted.

23 changes: 0 additions & 23 deletions src/Semi.Avalonia/Controls/UserControl.axaml

This file was deleted.

2 changes: 0 additions & 2 deletions src/Semi.Avalonia/Controls/_index.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<ResourceInclude Source="avares://Semi.Avalonia/Controls/Carousel.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/CheckBox.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/ComboBox.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/ContentControl.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/ContextMenu.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/DataValidationErrors.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/DatePicker.axaml" />
Expand Down Expand Up @@ -57,7 +56,6 @@
<ResourceInclude Source="avares://Semi.Avalonia/Controls/Tooltip.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/TransitioningContentControl.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/TreeView.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/UserControl.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/Window.axaml" />
<ResourceInclude Source="avares://Semi.Avalonia/Controls/WindowNotificationManager.axaml" />
</ResourceDictionary.MergedDictionaries>
Expand Down
3 changes: 0 additions & 3 deletions src/Semi.Avalonia/Themes/DarkTheme.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Styles.Resources>
<Style Selector=":is(UserControl)">
<Setter Property="Theme" Value="{DynamicResource {x:Type UserControl}}" />
</Style>
</Styles>
3 changes: 0 additions & 3 deletions src/Semi.Avalonia/Themes/Index.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,4 @@
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Styles.Resources>
<Style Selector=":is(UserControl)">
<Setter Property="Theme" Value="{DynamicResource {x:Type UserControl}}" />
</Style>
</Styles>
3 changes: 0 additions & 3 deletions src/Semi.Avalonia/Themes/LightTheme.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Styles.Resources>
<Style Selector=":is(UserControl)">
<Setter Property="Theme" Value="{StaticResource {x:Type UserControl}}" />
</Style>
</Styles>
3 changes: 0 additions & 3 deletions src/Semi.Avalonia/Themes/SemiTheme.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,4 @@
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Styles.Resources>
<Style Selector=":is(UserControl)">
<Setter Property="Theme" Value="{DynamicResource {x:Type UserControl}}" />
</Style>
</Styles>

0 comments on commit 8b4a670

Please sign in to comment.