WPF Infragistics 控件 - ContentPane 标头未显示多重绑定值
Infragistics WPF“ContentPane”控件有一个标题属性,我们可以在其中写入标题文本。我想将 2 个集合的计数和一些静态文本绑定到它,但我无法使其正常工作。
代码:
另外,如果我进行单一绑定,那么这可以正常工作,代码是:
请帮助朋友...!
Infragistics WPF 'ContentPane' control has a header property where we can write the heading text. I want to bind 2 collection's count and some static text to it, but iam unable to get this working.
code:<igDock:ContentPane.Header>
<MultiBinding StringFormat="Developer {0}, {1} ">
<Binding Path="ObCollection1.Count" />
<Binding Path="ObCollection2.Count" />
</MultiBinding>
</igDock:ContentPane.Header>
Also, if i do single binding , then this works ok , code is :
<igDock:ContentPane Background="Transparent" CloseButtonVisibility="Hidden" Header="{Binding DeveloperColl.Count, Mode=OneWay}" >
Plz help friends..!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
固定的!问题在于使用 StringFormat,我们必须使用 ConverterParameter 而不是 StringFormat 对于这个特定的 Infragistics 控件才能使其正常工作:)
Fixed! The issue was with using StringFormat, we have to use ConverterParameter instead of the StringFormat for this particular Infragistics control to get this thing to work :)