diff --git a/src/Controls/src/Core/ActivityIndicator/ActivityIndicator.cs b/src/Controls/src/Core/ActivityIndicator/ActivityIndicator.cs index f4b8efcc5bda..31c183d07013 100644 --- a/src/Controls/src/Core/ActivityIndicator/ActivityIndicator.cs +++ b/src/Controls/src/Core/ActivityIndicator/ActivityIndicator.cs @@ -9,7 +9,7 @@ namespace Microsoft.Maui.Controls { /// [DebuggerDisplay("{GetDebuggerDisplay(), nq}")] - [ElementHandler] + [ElementHandler(typeof(ActivityIndicatorHandler))] public partial class ActivityIndicator : View, IColorElement, IElementConfiguration, IActivityIndicator { /// Bindable property for . diff --git a/src/Controls/src/Core/Application/Application.cs b/src/Controls/src/Core/Application/Application.cs index d4b91822fed5..c22d77e7f906 100644 --- a/src/Controls/src/Core/Application/Application.cs +++ b/src/Controls/src/Core/Application/Application.cs @@ -16,7 +16,7 @@ namespace Microsoft.Maui.Controls { /// - [ElementHandler] + [ElementHandler(typeof(ApplicationHandler))] public partial class Application : Element, IResourcesProvider, IApplicationController, IElementConfiguration, IVisualTreeElement, IApplication { readonly WeakEventManager _weakEventManager = new WeakEventManager(); diff --git a/src/Controls/src/Core/Border/Border.cs b/src/Controls/src/Core/Border/Border.cs index 4ffcd2337889..a31e675b7126 100644 --- a/src/Controls/src/Core/Border/Border.cs +++ b/src/Controls/src/Core/Border/Border.cs @@ -11,14 +11,8 @@ namespace Microsoft.Maui.Controls { [ContentProperty(nameof(Content))] -<<<<<<< HEAD - [ElementHandler] - public class Border : View, IContentView, IBorderView, IPaddingElement -||||||| 3f26a592b2 - public class Border : View, IContentView, IBorderView, IPaddingElement -======= + [ElementHandler(typeof(BorderHandler))] public class Border : View, IContentView, IBorderView, IPaddingElement, ISafeAreaElement, ISafeAreaView2 ->>>>>>> 485b400ee4a317af11647f3e64085d7d8d4d5f17 { float[]? _strokeDashPattern; diff --git a/src/Controls/src/Core/BoxView/BoxView.cs b/src/Controls/src/Core/BoxView/BoxView.cs index 66fde2f06323..ed43a9398464 100644 --- a/src/Controls/src/Core/BoxView/BoxView.cs +++ b/src/Controls/src/Core/BoxView/BoxView.cs @@ -7,16 +7,10 @@ namespace Microsoft.Maui.Controls { -<<<<<<< HEAD - /// - [ElementHandler] -||||||| 3f26a592b2 - /// -======= /// /// A used to draw a solid colored rectangle. /// ->>>>>>> 485b400ee4a317af11647f3e64085d7d8d4d5f17 + [ElementHandler(typeof(BoxViewHandler))] public partial class BoxView : View, IColorElement, ICornerElement, IElementConfiguration, IShapeView, IShape { /// Bindable property for . diff --git a/src/Controls/src/Core/Button/Button.cs b/src/Controls/src/Core/Button/Button.cs index 4332294c235c..828f99c7cd61 100644 --- a/src/Controls/src/Core/Button/Button.cs +++ b/src/Controls/src/Core/Button/Button.cs @@ -16,7 +16,7 @@ namespace Microsoft.Maui.Controls /// A button that reacts to touch events. /// [DebuggerDisplay("{GetDebuggerDisplay(), nq}")] - [ElementHandler] + [ElementHandler(typeof(ButtonHandler))] public partial class Button : View, IFontElement, ITextElement, IBorderElement, IButtonController, IElementConfiguration