diff --git a/Microsoft.Toolkit.Uwp.UI.Controls/ImageEx/ImageEx.xaml b/Microsoft.Toolkit.Uwp.UI.Controls/ImageEx/ImageEx.xaml index b40eba789ed..2a07e54671e 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls/ImageEx/ImageEx.xaml +++ b/Microsoft.Toolkit.Uwp.UI.Controls/ImageEx/ImageEx.xaml @@ -9,7 +9,10 @@ - + public static readonly DependencyProperty StretchProperty = DependencyProperty.Register(nameof(Stretch), typeof(Stretch), typeof(ImageExBase), new PropertyMetadata(Stretch.Uniform)); - /// - /// Identifies the dependency property. - /// - public static new readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register(nameof(CornerRadius), typeof(CornerRadius), typeof(ImageExBase), new PropertyMetadata(new CornerRadius(0))); - /// /// Identifies the dependency property. /// @@ -81,16 +76,6 @@ public partial class ImageExBase /// public bool IsInitialized { get; private set; } - /// - /// Gets or sets the CornerRadius for underlying image. - /// Used to created rounded/circular images. - /// - public new CornerRadius CornerRadius - { - get { return (CornerRadius)GetValue(CornerRadiusProperty); } - set { SetValue(CornerRadiusProperty, value); } - } - /// /// Gets or sets DecodePixelHeight for underlying bitmap ///