How to develop a WPAT datagrid control that supports data binding?

I am new to WPF. I want to develop a datagrid control that supports data binding.

There is a lot of information about data binding to existing controls, but I cannot find any information on how to develop a control from scratch that supports data binding.

I do not expect a simple answer to this question, the link to start me will be pleasant.

+3
source share
4 answers

Are you planning to create a DatGrid control ?. Here is one http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=14963

WPF, Dependancyproperty ( ). , , DataBinding , ,

DataBinding http://msdn.microsoft.com/en-us/library/ms752347.aspx

+2

.

, "", "datagrid". , .

MSDN , , , , WPF- , .

0

  • - ,
  • DP AffectsArrange,
  • SimpleListBox - ( List<string>)
  • SimpleListBox INotifyCollectionChanged
  • SimpleListBox ( FirstName on List<Person>)
  • IWeakEventListener
  • , DataTable s, IListSource, ITypedList, IBindingListView IBindingList
0
source

Microsoft released DataGrid a few days ago as part of the WPF toolkit:

See the WPF Toolkit, October 2008 at codeplex

You can use data binding and validation.

0
source

Source: https://habr.com/ru/post/1698198/


All Articles