我有一个毛伊岛应用程序,并希望我的应用程序的风格,根据我的平台上。在资源字典中,我可以使用以下内容
<ResourceDictionary
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<OnPlatform x:Key="ButtonSize" x:TypeArguments="x:Double">
<On Platform="iOS" Value="14" />
<On Platform="Android" Value="16" />
</OnPlatform>
</ResourceDictionary>
Windows和Mac的“平台字符串”是什么?
<On Platform="???" Value="16" />
发布于 2022-10-12 22:20:24
根据文档
https://stackoverflow.com/questions/74048515
复制相似问题