Sunday 15 January 2012

c# - Event binding not working in telerik windows controls for universal apps -



c# - Event binding not working in telerik windows controls for universal apps -

i'm using caliburn micro mvvm framework universal app telerik's controls universal apps. default (for framework) event binding feature not work event radautocompletebox.selectionchanged. if add together

micro:message.attach="[event selectionchanged] = [action changecurrency()]"

into xaml code

_navigationservice.urifor<myviewmodel>().navigate();

not work (navigation not occured without errors). , when remove line - works good.

my view:

<telerikuniversalinput:radautocompletebox itemssource="{binding accounts}" micro:message.attach="[event selectionchanged] = [action changecurrency()]" text="{binding account, mode=twoway, updatesourcetrigger=propertychanged}" istextmatchhighlightenabled="true" autosuggestfirstitem="true" filtercomparisonmode="currentcultureignorecase" filtermode="contains" header="accounts"> <telerikuniversalinput:radautocompletebox.itemtemplate> <datatemplate> <stackpanel> <textblock text="{binding title, mode=twoway, updatesourcetrigger=propertychanged}"> </textblock> </stackpanel> </datatemplate> </telerikuniversalinput:radautocompletebox.itemtemplate> </telerikuniversalinput:radautocompletebox>

c# xaml mvvm telerik caliburn.micro

No comments:

Post a Comment