Skip to content

Commit

Permalink
Applying global styles to shadows (dotnet#19560)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaflo committed Jun 11, 2024
1 parent be7c8a8 commit 8058667
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Controls/src/Core/Shadow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ public class Shadow : Element, IShadow

Paint IShadow.Paint => Brush;

internal MergedStyle _mergedStyle;

public Shadow()
{
_mergedStyle = new MergedStyle(GetType(), this);
}

public float Radius
{
get { return (float)GetValue(RadiusProperty); }
Expand Down

0 comments on commit 8058667

Please sign in to comment.