gpt4 book ai didi

Xamarin 形成边距

转载 作者:行者123 更新时间:2023-12-03 10:20:40 25 4
gpt4 key购买 nike

我试图在 Xamarin.Forms documentation 中找到一些边距模拟.有人知道我们有什么东西或填充物吗?

更新:
为了最好地了解边距是什么(它来自 MSDN for WPF):
enter image description here

最佳答案

最后! Xamarin Forms 2.2.0包括 Margins支持!

Here are the docs具有出色的视觉效果。
enter image description here

UPD 专为@AUSTX_RJL
margin 值为 Thickness ,就像在任何其他 XAML 框架中一样。

您可以设置 Thickness在 XAML 中,通过设置一个、两个或四个以逗号或空格分隔的值:"1 2 3 4""1, 2, 3, 4" 相同并设置:

  • 1 为 Left
  • 2 为 Top
  • 3 为 Right
  • 4 换 Bottom
  • Thickness的领域
    "1 2"套:
  • 1 为 LeftRight字段
  • 2 为 TopBottom字段
  • "1"Thickness 的所有字段设置 1

    关于Xamarin 形成边距,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24034204/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com