From 151e25427f6ca2c7e3f53a407f217947600f4b30 Mon Sep 17 00:00:00 2001 From: Corvin Date: Wed, 8 Jan 2025 19:03:46 +0100 Subject: [PATCH 1/2] added AutoSuggestBox to MD2 FieldsLineUp demo --- src/MainDemo.Wpf/FieldsLineUp.xaml | 16 ++++++++++++++++ src/MainDemo.Wpf/FieldsLineUp.xaml.cs | 3 +++ 2 files changed, 19 insertions(+) diff --git a/src/MainDemo.Wpf/FieldsLineUp.xaml b/src/MainDemo.Wpf/FieldsLineUp.xaml index d8d82fb829..cc16ac9768 100644 --- a/src/MainDemo.Wpf/FieldsLineUp.xaml +++ b/src/MainDemo.Wpf/FieldsLineUp.xaml @@ -159,6 +159,7 @@ + + + + + + + diff --git a/src/MainDemo.Wpf/FieldsLineUp.xaml.cs b/src/MainDemo.Wpf/FieldsLineUp.xaml.cs index 97ea7a074b..5ad4bcacac 100644 --- a/src/MainDemo.Wpf/FieldsLineUp.xaml.cs +++ b/src/MainDemo.Wpf/FieldsLineUp.xaml.cs @@ -73,6 +73,9 @@ private static void SetValue(Control control) { switch (control) { + case MaterialDesignThemes.Wpf.AutoSuggestBox autoSuggestBox: + autoSuggestBox.Text = nameof(MaterialDesignThemes.Wpf.AutoSuggestBox.Text); + break; case TextBox textBox: textBox.Text = nameof(TextBox.Text); break; From f6855b24de15c33e7f36fe26439b0035dd33ebab Mon Sep 17 00:00:00 2001 From: Corvin Date: Thu, 9 Jan 2025 17:23:37 +0100 Subject: [PATCH 2/2] added AutoSuggestBox to MD3 FieldsLineUp demo --- src/MaterialDesign3.Demo.Wpf/FieldsLineUp.xaml | 16 ++++++++++++++++ .../FieldsLineUp.xaml.cs | 3 +++ 2 files changed, 19 insertions(+) diff --git a/src/MaterialDesign3.Demo.Wpf/FieldsLineUp.xaml b/src/MaterialDesign3.Demo.Wpf/FieldsLineUp.xaml index c9c36351c5..ed90c7fa03 100644 --- a/src/MaterialDesign3.Demo.Wpf/FieldsLineUp.xaml +++ b/src/MaterialDesign3.Demo.Wpf/FieldsLineUp.xaml @@ -148,6 +148,7 @@ + + + + + + + diff --git a/src/MaterialDesign3.Demo.Wpf/FieldsLineUp.xaml.cs b/src/MaterialDesign3.Demo.Wpf/FieldsLineUp.xaml.cs index 052b836e39..84dfec9f58 100644 --- a/src/MaterialDesign3.Demo.Wpf/FieldsLineUp.xaml.cs +++ b/src/MaterialDesign3.Demo.Wpf/FieldsLineUp.xaml.cs @@ -73,6 +73,9 @@ private static void SetValue(Control control) { switch (control) { + case MaterialDesignThemes.Wpf.AutoSuggestBox autoSuggestBox: + autoSuggestBox.Text = nameof(MaterialDesignThemes.Wpf.AutoSuggestBox.Text); + break; case TextBox textBox: textBox.Text = nameof(TextBox.Text); break;