腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
如何在xamarin.forms中使集合视图内
的
元素
具有动画效果?
c#
、
xaml
、
xamarin.forms
、
collectionview
我想将旋转动画
绑定
到
集合视图中
的
一个
元素
上,如果有一种方法可以只使用xaml对其进行动画处理,那么这将不是问题,但在Xamarin.form
中
,我们必须引用对象,然后使用C#对其进行动画处理,就像这样
的
如何对动态创建
的
集合视图中
的
对象执行相同
的
操作。> <StackLayout> <
浏览 16
提问于2021-02-24
得票数 0
2
回答
绑定
到
视图控件
的
ObservableCollection
c#
、
xaml
、
xamarin.forms
、
data-binding
如何将
ObservableCollection
绑定
到
自定义视图?在MainViewModel.cs内部有以下相应
的
属性
:public
CollectionView
.ItemTemplate> <Label Text="
浏览 14
提问于2022-10-14
得票数 0
1
回答
如何将
属性
绑定
到
CollectionView
DataTemplate
中
的
元素
xaml
、
xamarin.forms
、
data-binding
、
datatemplate
我正在尝试将IsVisible
属性
绑定
到
DataTemplate
中
的
StackLayout,但我无法使其工作。我已经尝试过this post,但在x:Reference
中
,它不允许我将x:Name放入
CollectionView
。<
CollectionView
x:Name="myCollectionView" HorizontalOptions="FillAndExpand
浏览 26
提问于2021-02-02
得票数 0
1
回答
如何将
嵌套
collectionView
的
ItemsSource
属性
绑定
到
包含其中
的
CollectionView
的
项上?
c#
、
xaml
、
xamarin
、
xamarin.forms
、
uicollectionview
这个问题可能非常令人困惑,所以我将尝试澄清它,所以基本上我将一个
CollectionView
放在另一个
collectionView
中
,并且我希望将第二个
CollectionView
中
包含
的
视图
的
属性
绑定
到
由第一个
dataTemplate
中
的
CollectionView
显示
的
单个对象
的
属性
。我可
浏览 0
提问于2020-10-10
得票数 0
1
回答
我有一个Xamarin BindingContext
的
困境
xamarin
、
command
、
custom-controls
的
BindingContext显然就是我
的
ViewModel;MyShoppingList是在ViewModel
中
创建
的
ObservableCollection。CheckBox IsChecked值位于my Model
中
,作为Completed
属性
。但是,没有找到该命令,因为
CollectionView
显然将BindingContext从ViewModel更改为模型,从而正确
绑定
了Completed、ItemName和StoreName
属性<
浏览 40
提问于2020-07-22
得票数 0
回答已采纳
3
回答
如何在集合视图中指定
绑定
值?
xamarin
、
xamarin.forms
我创建了一个具有自定义视图
的
CollectionView
。<
CollectionView
.ItemTemplate> <
DataTe
浏览 3
提问于2019-11-15
得票数 0
回答已采纳
1
回答
CollectionView
项在Xamarin窗体中将x:DataType设置为ViewModel时不会更新
c#
、
xaml
、
xamarin
、
xamarin.forms
、
observablecollection
我有一个
CollectionView
,它
的
ItemsSource
绑定
到
ObservableCollection,并且工作正常。但是当我在XAML
中
添加x:DataType="viewmodels:MyPageViewModel"时,它没有显示任何项,即使是在ViewModel
的
构造函数
中
初始化
的
那些项也没有显示在
CollectionView
中
。另外,如果我在应用程序运行时在ColllectionV
浏览 3
提问于2022-08-31
得票数 0
回答已采纳
1
回答
Xamarin形成TapGestureRecognizer阻止实际攻丝
c#
、
.net
、
xamarin
、
xamarin.forms
、
xamarin.android
我在集合视图中有堆栈布局,我想点击stacklayout
元素
来执行
绑定
命令。当我将TapGestureRecognizer添加到堆栈布局
中
时- stacklayout停止响应触摸(我仍然可以滚动它),
绑定
命令不会触发: </
CollectionView
.ItemTemplate> </
Co
浏览 5
提问于2021-10-19
得票数 0
回答已采纳
2
回答
将
datatemplate
内
的
元素
绑定
到
父级
的
属性
c#
、
.net
、
xaml
、
uwp
如何将
模板内
的
元素
绑定
到
其父
元素
的
属性
,如下所示: <Button.ContentTemplate> <
浏览 1
提问于2017-11-20
得票数 1
1
回答
在
CollectionView
中使用ItemTemplate
绑定
的
Xamarin Forms 4(9之前)
的
问题
xamarin.forms
、
binding
、
collectionview
、
itemtemplate
为了定制
CollectionView
中
特定项
的
外观,我使用DataTemplateSelector在运行时根据数据
绑定
属性
的
值选择
DataTemplate
。但是,与ListView
中
的
情况不同,数据
绑定
似乎不适用于
CollectionView
中
的
ItemTemplate。我已经用ListView代替
CollectionView
对我
的</e
浏览 47
提问于2019-04-19
得票数 0
回答已采纳
3
回答
绑定
到
ObservableCollection<Tuple<string,string>>会导致错误XFC0045
绑定
:
属性
"Item1“未找到
xamarin.forms
、
binding
、
tuples
我想把这个字符串从不同
的
元组
绑定
到
前端。 <
CollectionView
.ItemTemplate>
浏览 24
提问于2021-11-29
得票数 1
回答已采纳
1
回答
CollectionView
SelectedItem BindableProperty
xamarin.forms
但是,我使用
的
是BindableObject类Xamarin forms,它工作得很好public BindableProperty DiagnosticEventProperty我
的
Xaml
浏览 0
提问于2021-04-15
得票数 0
1
回答
Listview
绑定
问题
c#
、
xaml
、
windows-store-apps
MyItems和Width
属性
。
如何将
列表
中
单个
元素
绑定
到
XAML
中
的
Text
属性
,并将宽度从ViewModel
绑定
到
XAML
的
Width
属性
?下面是我
的
尝试,但我不能同时
绑定
这两个
属性
。我
的
意思是,我可以将整个列表
绑定
到
文本
属性
,但我不知
浏览 4
提问于2015-06-26
得票数 0
3
回答
如何将
ViewModel实例传递给用户定义
的
命令
c#
、
xaml
、
mvvm
、
maui
> Names
属性
,它会在视图中这样进行生成控件: <
CollectionView
.ItemTemplate也就是说,在这个命令
的
逻辑
中
,在ViewModel
中
操作名称
属性
并删除其中一个,所以这个命令需要传递
到
ViewModel
中
我希望在每一项后,都有一个按钮可以用来删除当前项,并且逻辑通
浏览 19
提问于2022-10-17
得票数 0
1
回答
在DataTemplates中使用TemplateBinding
wpf
、
binding
、
datatemplate
我正在创建一个自定义控件,但在将
DataTemplate
中
的
UI
元素
绑定
到
该自定义控件
的
依赖
属性
时遇到了问题。我
的
控件中有一个content控件,它应该根据某个
属性
更改其内容和内容模板,所以我以这种方式
绑定
了它- <ContentControl Content="{TemplateBinding ControlModex:Key="TemplateSelector"
浏览 2
提问于2012-02-23
得票数 2
回答已采纳
2
回答
使用自定义视图时数据
绑定
不起作用
.net
、
xamarin.forms
、
binding
、
maui
我使用.NET MAUI框架开发应用程序,作为我
的
应用程序
的
一部分,有一个PostView,它应该显示一些数据。当我试图
绑定
Post实例时,
绑定
不起作用,应用程序只显示一个空
的
PostView模板。; set; } public DateTime CreatedAt { get; set; }这是页面
中
呈现PostView
的
部分 <
CollectionView<
浏览 9
提问于2022-08-06
得票数 0
回答已采纳
2
回答
WPF ICollectionView双向
绑定
?
wpf
、
binding
、
datagrid
、
icollectionview
我在DataGrid
中
显示一些数据,
绑定
到
CollectionView
。
绑定
工作正常,但似乎是只读
的
:检查网格
中
的
复选框不会更新模型。_
CollectionView
= CollectionViewSource.GetDefaultView( items ); 在xaml
中
,我只需将DataGrid
绑定
到
_
CollectionView
,将复选框
绑定</em
浏览 0
提问于2016-08-27
得票数 0
回答已采纳
1
回答
如何
绑定
xamarin集合视图中嵌套
的
列表项
xamarin
、
collectionview
我是新来
的
xamarin。我很难在xamarin
CollectionView
中
绑定
我
的
列表。我从API得到下面的json。
浏览 29
提问于2020-08-01
得票数 0
回答已采纳
1
回答
对嵌套XAML
元素
的
访问
c
、
xaml
、
maui
**情况下,
collectionView
里面还有另一个
collectionView
。从代码
中
,我通过一个
属性
获得第一个
collectionView
的
方法和
属性
。错误是这个The name "cv2" does not exist in the current context.我
的
XAML: <
Collec
浏览 0
提问于2022-10-26
得票数 0
回答已采纳
1
回答
在xamarin窗体列表视图中
的
每个组标题末尾添加一个按钮
listview
、
xamarin.forms
、
grouping
我有一个带有组标题模板
的
列表视图。> <ViewCell> </Grid> <
浏览 5
提问于2020-01-06
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
iOS架构:MVVM设计模式+RAC响应式编程
AngularJs基础学习-1
Vue中常用的指令有哪些?请分别解释它们的用途和示例
Vue2和Vue3使用层面上有什么区别
SpringMVC之请求和响应
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券