From fe92c8b0d8e2ea3fe4032170545c7f3136a89c11 Mon Sep 17 00:00:00 2001 From: Max Katz Date: Sun, 2 May 2021 02:26:38 -0400 Subject: [PATCH 01/10] Keep both Inline and Tooltip validation error templates --- .../Controls/DataValidationErrors.xaml | 140 +++++++++++++----- 1 file changed, 99 insertions(+), 41 deletions(-) diff --git a/src/Avalonia.Themes.Fluent/Controls/DataValidationErrors.xaml b/src/Avalonia.Themes.Fluent/Controls/DataValidationErrors.xaml index f83af266c2..81685d70fc 100644 --- a/src/Avalonia.Themes.Fluent/Controls/DataValidationErrors.xaml +++ b/src/Avalonia.Themes.Fluent/Controls/DataValidationErrors.xaml @@ -1,44 +1,102 @@ - + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + From 18c43716843352b006e6026a1db354e2f5289356 Mon Sep 17 00:00:00 2001 From: Max Katz Date: Sun, 2 May 2021 02:26:51 -0400 Subject: [PATCH 02/10] Use tooltip validation error in DataGrid --- src/Avalonia.Controls.DataGrid/Themes/Fluent.xaml | 4 ++++ src/Avalonia.Themes.Fluent/Controls/DataValidationErrors.xaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Avalonia.Controls.DataGrid/Themes/Fluent.xaml b/src/Avalonia.Controls.DataGrid/Themes/Fluent.xaml index 998198cc1c..0c4f8249ce 100644 --- a/src/Avalonia.Controls.DataGrid/Themes/Fluent.xaml +++ b/src/Avalonia.Controls.DataGrid/Themes/Fluent.xaml @@ -163,6 +163,10 @@ + - - + x:Class="Avalonia.Diagnostics.Views.EventsPageView" + Margin="2"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +