WPF数据绑定和INotifyPropertyChanged为白痴 [英] WPF Databinding and INotifyPropertyChanged for Idiots
问题描述
在意识到如何踩水之前,我意识到自己已经步入深渊. .
I realize I''m jumping into the deep end before I know how to tread water, but. . .
过去几天,我一直在网络上搜索,试图利用INotifyPropertyChanged接口找到一个非常简单的解释/数据绑定到数据库的示例,该接口不涉及100行代码,并准确地阐明我将接口附加到的内容.数据库? CollectionView?后台代码应该放在哪里?等等吗?
I''ve been searching the web for the past few days trying to find an extremely simple explanation/sample of databinding to a database utilizing the INotifyPropertyChanged interface that doesn''t involve 100 lines of code, and spells out EXACTLY what I''m attaching the interface to. The database? The CollectionView? Where should the code-behind live? Etc?
帮助?谢谢.
推荐答案
在文章中搜索WPF数据绑定.只需付出一点即可发现的东西真是太神奇了.
Search the Articles for WPF Databinding. It''s amazing what you can discover with a little effort.
这篇关于WPF数据绑定和INotifyPropertyChanged为白痴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!