put DataValidationErros into TextBox.xaml
MODIFY
WalletWasabi.Fluent/Styles/Styles.xaml
WalletWasabi.Fluent/Styles/Styles.xaml
<Setter Property="(TextBlock.FontStyle)" Value="Italic" />
</Style>
-
-
<Style Selector="SplitView">
<Setter Property="CompactPaneLength" Value="{StaticResource SplitViewCompactPaneLength}" />
<Setter Property="OpenPaneLength" Value="320" />
</Setter>
</Style>
- <Style Selector="DataValidationErrors">
- <Setter Property="Template">
- <ControlTemplate>
- <DockPanel LastChildFill="True">
- <ContentControl
- DockPanel.Dock="Bottom"
- ContentTemplate="{TemplateBinding ErrorTemplate}"
- DataContext="{TemplateBinding Owner}"
- Content="{Binding (DataValidationErrors.Errors)}"
- IsVisible="{Binding (DataValidationErrors.HasErrors)}" />
- <ContentPresenter
- Name="PART_ContentPresenter"
- Background="{TemplateBinding Background}"
- BorderThickness="{TemplateBinding BorderThickness}"
- ContentTemplate="{TemplateBinding ContentTemplate}"
- Content="{TemplateBinding Content}"
- Padding="{TemplateBinding Padding}" />
- </DockPanel>
- </ControlTemplate>
- </Setter>
- <Setter Property="ErrorTemplate">
- <DataTemplate>
- <ItemsControl Items="{Binding}">
- <ItemsControl.ItemTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Message}" Foreground="{Binding Severity, Converter={StaticResource ErrorSeverityColorConverter}}" TextWrapping="Wrap" />
- </DataTemplate>
- </ItemsControl.ItemTemplate>
- </ItemsControl>
- </DataTemplate>
- </Setter>
- </Style>
-
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/OptionButton.xaml" />

MODIFY
WalletWasabi.Fluent/Styles/TextBox.xaml
WalletWasabi.Fluent/Styles/TextBox.xaml
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+
+ <Style Selector="DataValidationErrors">
+ <Setter Property="Template">
+ <ControlTemplate>
+ <DockPanel LastChildFill="True">
+ <ContentControl
+ DockPanel.Dock="Bottom"
+ ContentTemplate="{TemplateBinding ErrorTemplate}"
+ DataContext="{TemplateBinding Owner}"
+ Content="{Binding (DataValidationErrors.Errors)}"
+ IsVisible="{Binding (DataValidationErrors.HasErrors)}" />
+ <ContentPresenter
+ Name="PART_ContentPresenter"
+ Background="{TemplateBinding Background}"
+ BorderThickness="{TemplateBinding BorderThickness}"
+ ContentTemplate="{TemplateBinding ContentTemplate}"
+ Content="{TemplateBinding Content}"
+ Padding="{TemplateBinding Padding}" />
+ </DockPanel>
+ </ControlTemplate>
+ </Setter>
+ <Setter Property="ErrorTemplate">
+ <DataTemplate>
+ <ItemsControl Items="{Binding}">
+ <ItemsControl.ItemTemplate>
+ <DataTemplate>
+ <TextBlock Text="{Binding Message}" Foreground="{Binding Severity, Converter={StaticResource ErrorSeverityColorConverter}}" TextWrapping="Wrap" />
+ </DataTemplate>
+ </ItemsControl.ItemTemplate>
+ </ItemsControl>
+ </DataTemplate>
+ </Setter>
+ </Style>
+
<Style Selector="TextBox">
<Setter Property="Template">
<ControlTemplate>

put DataValidationErros into TextBox.xaml