腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
制作
一些
OnIdiom
和
OnPlatform
StaticResource
c#
、
xaml
、
xamarin
、
xamarin.forms
我想使用
StaticResource
和
VS 2017的自动完成的好处,如果它存在的话,使用
一些
类似这样的语法: <x:Double x:Key="NormalSpacing"> <
OnIdiom
.Phone> <
OnPlatform
x:TypeArguments="x:Doub
浏览 2
提问于2019-04-01
得票数 2
1
回答
iOS的Xamarin.Forms ListView ItemTapped背景
listview
、
button
、
xamarin.forms
StackLayout> <SearchBar TextChanged="SearchBar_TextChanged" x:Name="searching" FontFamily="{
StaticResource
TextColor="#FF0000" IsVisible="False" x:Name="error_label" Text="No items in this category" FontFamil
浏览 25
提问于2019-01-28
得票数 0
回答已采纳
1
回答
Xamarin形成图像的固定大小
xamarin
、
xamarin.forms
、
image-size
我正在尝试设置我的图像的高度
和
宽度,并让它有一个固定的大小,但是如果我收缩容器(框架,堆叠板,网格,等等)图像也会随之缩小。然而,我会假设设置高度
和
宽度(WidthRequest,HeightRequest,MinimumHeightRequest,MinimumWidthRequest)会强制图像保持设置的大小……然而,它不是
浏览 4
提问于2016-05-03
得票数 3
2
回答
无法从viewmodel类中的应用程序资源读取双精度
xamarin
、
xamarin.forms
、
resourcedictionary
、
idioms
TypeArguments="x:Double" iOS="360" /> x:TypeArguments="x:Double" Phone="{
StaticResource
浏览 27
提问于2019-09-23
得票数 0
1
回答
XAML -未设置静态资源
xaml
、
xamarin.forms
第一个(名称为LabelFont SetterProperty="FontSize")<
OnPlatform
x:
浏览 0
提问于2021-01-27
得票数 0
5
回答
是否可以将
OnIdiom
和
OnPlatform
混合在XAML (Xamarin.Forms)中?
xaml
、
xamarin
、
xamarin.forms
、
mobile-devices
、
mobile-development
此外,平板电脑
和
智能手机的价值应该是不同的。下面的代码使应用程序崩溃 <ColumnDefinition.Width> <
OnPlatform
<
OnIdiom
.Tablet> <
OnPlatform
x:TypeArguments="GridLength" iOS="*&quo
浏览 3
提问于2016-10-18
得票数 19
回答已采纳
1
回答
Xamarin
OnIdiom
和
OnPlatform
StaticResource
利润率
xaml
、
xamarin
、
xamarin.forms
我正在为标签设置样式,并且XAML格式有
一些
问题。我有以下代码,它工作得很好。x:TypeArguments="Thickness"> </
OnIdiom<
浏览 6
提问于2021-05-22
得票数 0
1
回答
如何在ListView中获取选取器的选定项?
xamarin
、
xamarin.forms
<
OnIdiom
.Phone> <
OnIdiom
.Tablet> <
OnPlatform
x
浏览 4
提问于2017-08-11
得票数 3
回答已采纳
1
回答
使用TranslateTo将StackLayouts向上滑动
c#
、
xaml
、
xamarin.forms
当我单击它来上下滑动它时,它工作得很好,但是当我在OnAppearing上滑动时,有时它并没有完全向上移动,
一些
堆栈是可见的,我看不出原因,或者在调试中看到任何东西。x:TypeArguments="Thickness"> <
OnPlatform
x:TypeArguments<
OnIdiom
.Tablet> <
OnPl
浏览 0
提问于2018-04-23
得票数 0
回答已采纳
1
回答
XAML资源字典中的算术运算
xaml
、
xamarin.forms
、
resourcedictionary
、
ivalueconverter
它们非常强大,但是为了减少(甚至进一步)为适应任何修改而需要进行的更改,我想使用
一些
基本的算术操作来更改HeightRequest属性的Entry。我已经在不同的方面很好地利用了
OnPlatform
和
OnIdiom
,比如FontSize。 对于iOS平台,我想做条目20+(FontSize)的HeightRequest。
和
OnPlatform
的组合,我就有了一个可行的解决方案。<
OnPlatform
x:TypeArguments="x:Double&q
浏览 2
提问于2018-10-03
得票数 5
回答已采纳
3
回答
用成语绑定图像的Xamarin xaml
xaml
、
xamarin.forms
--<Image Source="{Binding PhoneImageData,Converter={
StaticResource
btoi}}" />--> <Binding Converter="{
StaticResource
btoi}"><Path> <
OnIdiom
x:Type
浏览 4
提问于2016-03-27
得票数 1
回答已采纳
1
回答
不同平台
和
设备的Xamarin.Forms不同视图
xamarin.forms
我在Xamarin.Forms,上有一个项目,我正在尝试创建4个视图:Android phone、Android tablet、iPhone
和
iPad。我试过一个小例子,类似于XAML中的例子 <ContentView> </
OnIdiom
><
浏览 4
提问于2020-01-13
得票数 0
1
回答
适用于Xamarin.Forms的电话和平板电脑视图
xaml
、
xamarin.forms
我正在尝试
制作
一种可以在手机和平板电脑上不同的xaml。<LineEntry x:Name="User" Style="{
StaticResource
Style1}"/> ...</ContentView> <&
浏览 6
提问于2020-01-27
得票数 0
回答已采纳
3
回答
如何在Xamarin窗体中使用附加属性(如Grid.Row、AbsoluteLayout.LayoutFlags到
OnPlatform
标记)
xaml
、
xamarin.forms
现在,我尝试使用下面的代码 <StackLayout.Grid.Row> </StackLayout.Grid.Row>而且还 <Grid.Row> </Grid.Row> &l
浏览 3
提问于2016-11-03
得票数 1
回答已采纳
1
回答
Xamarin Forms ScrollView breaks应用程序
xaml
、
xamarin.forms
、
scrollview
</
OnIdiom
.Phone> </
OnIdiom
>
浏览 0
提问于2018-04-13
得票数 0
2
回答
如何为SfListView编写自定义呈现程序以禁用滚动?
listview
、
xamarin.ios
、
xamarin.android
、
syncfusion
由于分组
和
其他可用功能,我正在使用SfListView。但是,我需要禁用在Android
和
iOS中滚动列表视图。如何为SfListView编写自定义呈现程序?
浏览 6
提问于2017-04-12
得票数 0
回答已采纳
2
回答
包含列表视图的ContentPage在Android上显示得非常慢
xamarin
、
xamarin.android
、
xamarin.forms
、
ffimageloading
ListView中的视图单元可能会稍微复杂
一些
。它包含一个配置文件图像,
一些
较小的图标正在使用FFImageLoading。<controls:CircleImage Style="{
StaticResource
<Label x:Name="childName" Text="{Binding DisplayName}" Style="{
StaticResource
OnId
浏览 7
提问于2017-08-14
得票数 2
回答已采纳
1
回答
网格不适合小米的屏幕
xamarin.forms
这只在
一些
小米上发生(在其他设备上,即使是小米,也不会)。 我使用的是VS 2019
和
Xamarin Forms 4.8.0.1269。 ? <?MySample.Controls"x:Class="MySample.Views.LoginView"> <
OnPlatform
x:TypeArguments="Thickness&quo
浏览 12
提问于2021-02-02
得票数 0
1
回答
Xamarin :未处理的异常: System.Reflection.TargetInvocationException: Exception已被调用的目标抛出
xamarin.forms
、
targetinvocationexception
、
native-crash-reporting
但同样的功能在安卓设备
和
ios模拟器上运行良好。。 </
OnIdiom
><Label.FontFamily>
浏览 5
提问于2021-08-04
得票数 0
回答已采纳
1
回答
在xamarin窗体中仅将特定于平台的控件设置为一个平台
xaml
、
xamarin
、
xamarin.forms
我有一个包含listview
和
Search bar控件的页面。有一个用于android的自定义listview。我的代码如下: <ContentView> <
OnPlatform
.Android> <StackLayout x:Na
浏览 2
提问于2016-09-13
得票数 2
点击加载更多
相关
资讯
手机端怎么视频转gif?4个妙招分享给你
潍坊网站制作一般要多少钱
喜欢游戏的你想自己制作独立游戏,什么才是最好的入门方法?
妥妥网站建设:新手小白如何自己建网站
3个步骤,快速掌握Unity游戏制作!#Unity毕设#游戏开发教学
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
腾讯会议
活动推荐
运营活动
广告
关闭
领券