Kcs*_*ter 0 xamarin.ios xamarin.android xamarin xamarin.forms
我必须在Xamarin.Forms使用圆角入口,但我没有得到任何解决方案.请帮助我解决这个问题.
我不确定这种方法是否有问题,因为它看起来很简单,但没有人提出建议。
但我不明白为什么你不能只使用Framewith IsClippedToBoundsset to true。这为您提供了一个内置的拐角半径,然后您可以根据需要进行调整。
<Grid>
<Frame
Padding = "0"
CornerRadius ="20"
IsClippedToBounds="true">
<Editor [...whatever...]/>
</Frame>
</Grid>
Run Code Online (Sandbox Code Playgroud)
我目前正在使用这个解决方案,它对我有用。
| 归档时间: |
|
| 查看次数: |
5394 次 |
| 最近记录: |