From dfcb73deb64c86772cde9f2747e9936b0a049895 Mon Sep 17 00:00:00 2001 From: Oleksandr Liakhevych Date: Fri, 10 Jun 2022 00:20:56 +0300 Subject: [PATCH 1/2] Attached properties via CaptureUnmatchedValues --- .../Views/ShellPropertiesPlayground.razor | 11 ++--- .../AttachedPropertyRegistry.cs | 19 +++++++++ .../Elements/AttributeHelper.Common.cs | 22 +++++++--- .../Elements/AttributeHelper.Object.cs | 29 +++++++++++++ .../Elements/Element.cs | 9 ++++ .../Elements/Grid.cs | 16 +++++++ .../Elements/Handlers/ElementHandler.cs | 6 +++ .../Elements/Shell.cs | 42 +++++++++++++++++++ 8 files changed, 143 insertions(+), 11 deletions(-) create mode 100644 src/Microsoft.MobileBlazorBindings/AttachedPropertyRegistry.cs diff --git a/samples/ControlGallery/Views/ShellPropertiesPlayground.razor b/samples/ControlGallery/Views/ShellPropertiesPlayground.razor index 008153ff..ac677df0 100644 --- a/samples/ControlGallery/Views/ShellPropertiesPlayground.razor +++ b/samples/ControlGallery/Views/ShellPropertiesPlayground.razor @@ -1,4 +1,9 @@ - + + @@ -11,10 +16,6 @@ - -