Wednesday 15 August 2012

wpf - Markup Extensions for Events in .Net 4.5 -


does not define a markup extension to be used for WPF events, third parties are able to create a markup extension Now that WPF 4.5 events with markup extensions support events that can be used. How should anyone get into Net 4.5 with a brilliant example on this?

Event markup extension allows you to use markup extensions for events, as far as WPF 4.5 was available for those properties. For example:

  & lt; Canvas clipTobbons = "True" background = "white" mouse leftbuttondown = "{local: EventTokmommand Startprint Command}" MouseSave = "{Local: EventTermand Adlun Command}" Mouse LeftButNunePop = "{Local: EventTokand Endpent Command}" & gt; & Lt; / Canvas & gt;   

A complete example can be found.

No comments:

Post a Comment