腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(2797)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
3
回答
拦截RelativeSource
FindAncestor
见下面的错误reference 'RelativeSource
FindAncestor
有没有办法拦截窗口的
FindAncestor
调用,并将其连接到其他东西上?请注意,我不能更改上述绑定,因为它不是我的控制。
浏览 6
提问于2010-03-08
得票数 3
1
回答
RelativeSource
FindAncestor
问题
<TextBlock Width="{Binding RelativeSource= {RelativeSource
FindAncestor
浏览 0
修改于2011-10-24
得票数 5
回答已采纳
1
回答
ControlTemplate
FindAncestor
绑定无效
are not applied:--> Height="{Binding RelativeSource={RelativeSource Mode=
FindAncestor
浏览 3
修改于2014-12-03
得票数 0
1
回答
绑定中的WPF
FindAncestor
关于
FindAncestor
有一件特别的事情让我困惑,看看下面的例子: <DataTemplate> <DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=
FindAncestor
我的问题是,当我想在绑定中使用祖先的属性时,什么时候需要显式地使用
FindA
浏览 1
提问于2013-04-29
得票数 7
回答已采纳
2
回答
wpf:祖先的
FindAncestor
因此,当我想要将各种元素绑定到DataGrid的RowDetails模板上的属性时,我使用: "{Binding RelativeSource={RelativeSource
FindAncestor
,
浏览 3
提问于2011-06-19
得票数 6
回答已采纳
2
回答
WPF
FindAncestor
性能问题
在绑定中使用
FindAncestor
存在性能问题。这个问题的另一种选择是什么?
浏览 4
修改于2016-01-20
得票数 0
1
回答
以编程方式创建RelativeSource
FindAncestor
绑定
我正在编写一些以编程方式动态创建绑定的代码,但我似乎无法读取其RelativeSourceMode设置为
FindAncestor
的绑定所产生的值。在打开绑定跟踪后,警告如下: { // Create Relati
浏览 6
修改于2011-09-16
得票数 0
回答已采纳
3
回答
如何提高RelativeSource
FindAncestor
的性能?
FindAncestor
是否在整个窗口的视觉树中搜索元素? 如果是,那我该如何改进呢?有人能告诉我
FindAncestor
到底是怎么工作的吗?
浏览 4
修改于2014-12-22
得票数 6
回答已采纳
4
回答
Silverlight 4 RelativeSource
FindAncestor
绑定
会不会有RelativeSource
FindAncestor
,AncestorType...在Silverlight 4中?
浏览 0
修改于2012-10-29
得票数 21
回答已采纳
3
回答
什么时候使用
FindAncestor
?
在下图中,为什么需要
FindAncestor
,为什么AncestorType不需要UserControl?
浏览 0
提问于2012-06-01
得票数 0
回答已采纳
1
回答
Style和DataTemplates:
FindAncestor
样搜索,包括Self
{Binding Path, RelativeSource={RelativeSource
FindAncestor
, AncestorType={x:Type MyType}}}在继续元素层次结构之前,是否有任何{Binding .}咒语检查当前数据文本的类型?我有其他的解决方案专门针对我的项目,但
FindAncestor
是如此接近.
浏览 6
提问于2015-09-07
得票数 0
回答已采纳
1
回答
WindowsPhone : RelativeSource Mode=
FindAncestor
,AncestorType : CannotResolve SymbolAncestorType
="Top" Margin="0,5,5,0"> <Path Visibility="{Binding RelativeSource={RelativeSource Mode=
FindAncestor
浏览 0
提问于2013-03-06
得票数 2
回答已采纳
2
回答
WPF -简单相对路径-
FindAncestor
在下面的XAML中,ToolTip正确地绑定到RelativeSource本身。然而,我无论如何也想不出如何让注释块中的TextBlock引用SelectedItem.Description Grid.Row="2"
浏览 0
修改于2010-04-06
得票数 2
1
回答
如何使用相对绑定Mode=
FindAncestor
GridViewColumn.Width> <Binding Path="ActualWidth" Source="{RelativeSource Mode=
FindAncestor
浏览 3
提问于2011-01-27
得票数 1
1
回答
绑定RelativeSource={RelativeSource
FindAncestor
}时出现问题
我使用了下面的代码 AncestorType
浏览 3
提问于2010-01-14
得票数 1
回答已采纳
1
回答
如何不使用RelativeSource
FindAncestor
绑定?
我需要一些关于我的Uno UWP项目的绑定帮助。我有以下目标: { public int ImageWidth {get;set;} public class Picture : INotifyPropertyChanged public string URL {get;set;}
浏览 0
提问于2021-09-24
得票数 0
回答已采纳
2
回答
WPF Hierarchical ViewModel
FindAncestor
数据绑定错误
为此,我使用了以下xaml: SelectedValueBinding="{Binding RelativeSource={RelativeSource
FindAncestor
我都会从输出窗口中获得以下内容: System.Windows.Data Error: 4 :
浏览 0
提问于2013-04-11
得票数 2
回答已采纳
2
回答
ItemsControl -
FindAncestor
中的WPF绑定无法工作
Header="Spam" Command="{Binding Path=DataContext.HideSelectedText,RelativeSource={RelativeSource Mode=
FindAncestor
并且都产生了类似于; System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource
FindAncestor
浏览 3
提问于2011-03-08
得票数 0
3
回答
UWP中与
FindAncestor
的等价函数
所以,我想使用"
FindAncestor
",但是
FindAncestor
并不存在于UWP中。在uwp中有与
FindAncestor
等效的函数吗?
浏览 3
修改于2017-03-03
得票数 12
1
回答
为什么GridViewColumn中的
FindAncestor
绑定不起作用?
我正在尝试创建自己的GridViewColumn,并遇到了一些绑定问题。<GridViewColumn x:Class="interneProzesse_UebersetzungstoolNS.TranslateGridViewColumn" xmlns:x="http://schemas.microsoft.com/winfx/20
浏览 6
修改于2013-03-14
得票数 2
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券