Skip to content

Commit 5d1c7bf

Browse files
chris-blackmanmichael-hawker
authored andcommitted
Fixed member access
1 parent 795c57e commit 5d1c7bf

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

Microsoft.Toolkit.Uwp.UI.Media/Shadows/AttachedCardShadow.cs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ public class AttachedCardShadow : AttachedShadowBase
2626
private static readonly TypedResourceKey<CompositionSurfaceBrush> SurfaceBrushResourceKey = "SurfaceBrush";
2727
private static readonly TypedResourceKey<CompositionVisualSurface> VisualSurfaceResourceKey = "VisualSurface";
2828

29+
/// <summary>
30+
/// The <see cref="DependencyProperty"/> for <see cref="CornerRadius"/>
31+
/// </summary>
2932
public static readonly DependencyProperty CornerRadiusProperty =
3033
DependencyProperty.Register(
3134
nameof(CornerRadius),
@@ -40,23 +43,16 @@ static AttachedCardShadow()
4043
}
4144

4245
/// <summary>
43-
/// Gets or sets the roundness of the shadow's corners
46+
/// Gets or sets the roundness of the shadow's corners.
4447
/// </summary>
4548
public double CornerRadius
4649
{
4750
get => (double)GetValue(CornerRadiusProperty);
4851
set => SetValue(CornerRadiusProperty, value);
4952
}
5053

51-
/// <summary>
52-
/// <inheritdoc/>
53-
/// </summary>
5454
public override bool IsSupported => SupportsCompositionVisualSurface;
55-
56-
/// <summary>
57-
/// <inheritdoc/>
58-
/// </summary>
59-
public override bool SupportsOnSizeChangedEvent => true;
55+
protected override bool SupportsOnSizeChangedEvent => true;
6056

6157
protected override void OnElementContextUninitialized(AttachedShadowElementContext context)
6258
{

0 commit comments

Comments
 (0)