阅读背景:

XAML绑定:绑定到“全局”对象的属性

来源:互联网 

I would like to have one (global, singleton) object in my application that exposes a number of dependency properties. I would like to bind values in XAML to these dependency properties. How can I achieve this so that the syntax of my XAML binding is as simple as possible (in other words, not constantly worrying about RelativeSource, AncestoryType, etc).I would like to have one (global, singleton) ob




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: