Delete HeaderContentControl
MODIFY
WalletWasabi.Fluent/Controls/TileControl.axaml
WalletWasabi.Fluent/Controls/TileControl.axaml
</c:TileControl>
</Design.PreviewWith>
- <Style Selector="HeaderedContentControl.tile">
- <Setter Property="Template">
- <ControlTemplate>
- <DockPanel>
- <ContentPresenter DockPanel.Dock="Top" Content="{TemplateBinding Header}"
- Classes="h8 bold"
- ContentTemplate="{TemplateBinding HeaderTemplate}" />
- <ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" />
- </DockPanel>
- </ControlTemplate>
- </Setter>
- </Style>
-
<Style Selector="c|TileControl">
<Setter Property="SeparatorMargin" Value="0 6"></Setter>
<Setter Property="BottomPartHeight" Value="22"></Setter>
<Setter Property="Template">
<ControlTemplate>
- <HeaderedContentControl Classes="tile" Header="{TemplateBinding Title}">
<DockPanel>
+ <TextBlock Text="{TemplateBinding Title}" DockPanel.Dock="Top" Classes="h8 bold" />
<StackPanel DockPanel.Dock="Bottom" Name="PART_BottomContent" IsVisible="{TemplateBinding IsBottomContentVisible}">
<Separator DockPanel.Dock="Bottom" Margin="{TemplateBinding SeparatorMargin}" />
<Viewbox Height="{TemplateBinding BottomPartHeight}">
</StackPanel>
<ContentPresenter Name="PART_Content" Content="{TemplateBinding Content}" />
</DockPanel>
- </HeaderedContentControl>
</ControlTemplate>
</Setter>
</Style>

Delete HeaderContentControl