Skip to content

Commit 78bc06f

Browse files
Merge branch 'master' into muxtestinfra
2 parents 1c5ef76 + c6c6602 commit 78bc06f

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/ImageEx/ImageEx.xaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
<Setter Property="Template">
1010
<Setter.Value>
1111
<ControlTemplate TargetType="controls:ImageEx">
12-
<Grid Background="{TemplateBinding Background}" CornerRadius="{TemplateBinding CornerRadius}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
12+
<Grid Background="{TemplateBinding Background}"
13+
CornerRadius="{TemplateBinding CornerRadius}"
14+
BorderBrush="{TemplateBinding BorderBrush}"
15+
BorderThickness="{TemplateBinding BorderThickness}">
1316
<Image Name="PlaceholderImage"
1417
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
1518
VerticalAlignment="{TemplateBinding VerticalAlignment}"

Microsoft.Toolkit.Uwp.UI.Controls/ImageEx/ImageExBase.Members.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ public partial class ImageExBase
2020
/// </summary>
2121
public static readonly DependencyProperty StretchProperty = DependencyProperty.Register(nameof(Stretch), typeof(Stretch), typeof(ImageExBase), new PropertyMetadata(Stretch.Uniform));
2222

23-
/// <summary>
24-
/// Identifies the <see cref="CornerRadius"/> dependency property.
25-
/// </summary>
26-
public static new readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register(nameof(CornerRadius), typeof(CornerRadius), typeof(ImageExBase), new PropertyMetadata(new CornerRadius(0)));
27-
2823
/// <summary>
2924
/// Identifies the <see cref="DecodePixelHeight"/> dependency property.
3025
/// </summary>
@@ -81,16 +76,6 @@ public partial class ImageExBase
8176
/// </summary>
8277
public bool IsInitialized { get; private set; }
8378

84-
/// <summary>
85-
/// Gets or sets the CornerRadius for underlying image. <para/>
86-
/// Used to created rounded/circular images.
87-
/// </summary>
88-
public new CornerRadius CornerRadius
89-
{
90-
get { return (CornerRadius)GetValue(CornerRadiusProperty); }
91-
set { SetValue(CornerRadiusProperty, value); }
92-
}
93-
9479
/// <summary>
9580
/// Gets or sets DecodePixelHeight for underlying bitmap
9681
/// </summary>

0 commit comments

Comments
 (0)