From e075ed6673e28f3385fc0c5ee4c7f2beee28d232 Mon Sep 17 00:00:00 2001 From: Stephen Quan Date: Mon, 16 Jun 2025 16:56:28 +1000 Subject: [PATCH 1/4] Refactor Expander.ContentHeight and ExpanderAnimationBehavior --- .../Pages/Views/Expander/ExpanderPage.xaml | 16 +++ .../ExpanderAnimationBehavior.shared.cs | 111 ++++++++++++++++++ .../Views/Expander/Expander.shared.cs | 105 ++++++++++------- 3 files changed, 192 insertions(+), 40 deletions(-) create mode 100644 src/CommunityToolkit.Maui/Behaviors/ExpanderAnimationBehavior.shared.cs diff --git a/samples/CommunityToolkit.Maui.Sample/Pages/Views/Expander/ExpanderPage.xaml b/samples/CommunityToolkit.Maui.Sample/Pages/Views/Expander/ExpanderPage.xaml index 15ddcb5973..cdc3f94d9b 100644 --- a/samples/CommunityToolkit.Maui.Sample/Pages/Views/Expander/ExpanderPage.xaml +++ b/samples/CommunityToolkit.Maui.Sample/Pages/Views/Expander/ExpanderPage.xaml @@ -28,6 +28,10 @@