Skip to content

Commit

Permalink
chore: update doc/controls/ShadowContainer.md
Browse files Browse the repository at this point in the history
Co-authored-by: Agnès ZITTE <16295702+agneszitte@users.noreply.github.com>
  • Loading branch information
Xiaoy312 and agneszitte committed Sep 5, 2023
1 parent e731262 commit bcc4394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/controls/ShadowContainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A reference to [Uno.Toolkit.Skia.WinUI](https://www.nuget.org/packages/Uno.Toolk
## Remarks
Currently, the control simply mimics the shape of its content by size and by corner radius. Complicated shapes, such as text or pictures with alpha, are not yet supported.

In order for inset (inner) shadows to be paint on top of background, the `ShadowContainer`'s child element should not have a `.Background` or `.Fill`(for `Shape`s), it should be omitted or set to transparent. And, the background/fill value should be instead set on the `ShadowContainer` itself.
In order for inset (inner) shadows to be painted on top of the background, the `ShadowContainer`'s child element should not have a `.Background` or `.Fill`(for `Shape`s), it should be omitted or set to transparent. And, the background/fill value should be instead set on the `ShadowContainer` itself.
```xml
<!-- DO -->
<utu:ShadowContainer Background="..." Shadows="...">
Expand Down

0 comments on commit bcc4394

Please sign in to comment.