Silverlight 数据绑定内部工作原理

发布于 2024-07-23 02:51:07 字数 143 浏览 4 评论 0原文

有谁知道数据绑定系统在技术上如何在 silverlight 中工作,我已经看到了很多关于数据绑定的内容,并且项目必须使用依赖属性绑定到依赖对象(和依赖项),但属性实际上在哪里管理? 我应该在反射器中查看哪些类来了解内部结构? 我想更深入地了解一下,谁能更好地解释一下?

Does anyone know how the databinding system works in silverlight technically, I have seen alot of the tuts on databinding and that items must be bound to a Dependancy Object ( and dependants ) using dependancy properties but where are the properties actually managed? what classes should I look at in reflector to understand the internals? I want a deeper look can anyone explain it better?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柒七 2024-07-30 02:51:07

数据绑定由非托管堆栈处理,因此您无法完全执行此操作,但您可以更轻松地查看 wpf 中的堆栈。 从本质上讲,DependencyObject 的作用是使更改的执行速度比反射快得多。 请记住,该堆栈还负责动画更改。 (30-60 倍秒)。

The data binding is handled by the unmanaged stack so you can't exactly do it but you can look at the stack in wpf a little easier. Essentially, the DependencyObject stuff is so that execution of changes is a lot faster than reflection can do. Remember this stack is also responsible for animation changes. (30-60x second).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文