Forum Discussion
juansturla
Nov 05, 2021Copper Contributor
How to clip a View using XAML Style?
I have in my code several times this code <Image
Aspect="AspectFit"
HeightRequest="75"
WidthRequest="75">
<Image.Clip>
<EllipseGeometry
Center="37.5,37.5"
RadiusX="37.5"
RadiusY="37.5" />
</Imag...
- Nov 05, 2021
I think you should be able to do it like this:
<Setter Property="Clip"> <EllipseGeometry Center="37.5,37.5" RadiusX="37.5" RadiusY="37.5" /> </Setter>
jfversluis
Microsoft
Nov 05, 2021
I think you should be able to do it like this:
<Setter Property="Clip">
<EllipseGeometry
Center="37.5,37.5"
RadiusX="37.5"
RadiusY="37.5" />
</Setter>