Validating datagrid


For more information, see the ICollection View Live Shaping interface.Implementing the weak event pattern is now easier because subscribers to events can participate in it without implementing an extra interface.There are cases where the Data Context of an item container in an Items Control becomes disconnected.

validating datagrid-79

A collection of data can be grouped, sorted, or filtered.

WPF 4.5 enables the data to be rearranged when the data is modified.

The generic Weak Event Manager class also enables subscribers to participate in the weak event pattern if a dedicated Weak Event Manager does not exist for a certain event. The Dispatcher class defines new methods for synchronous and asynchronous operations.

The synchronous Invoke method defines overloads that take an Action or Func, call the Dispatcher Operation Wait extension method. Wait will result in a deadlock if the operation is queued on a calling thread.

WPF enables you to access and modify data collections on threads other than the one that created the collection.