Xaml interactions not working in Windows 10 -
I am working on a Windows Store app (Windows 8.1) and I am using a search box like this
& lt; Search box X: name = "search text" question text = "{binding query text, mode = two}" & gt; & Lt; I: Interaction.Behaviors & gt; & Lt; Core: EventTriggerBehavior EventName = "Query submitted" & gt; & Lt; Core: InvokeCommandAction command = "{Binding Search Commands}" /> & Lt; / Core: EventTriggerBehavior & gt; & Lt; / I: Interaction.Behaviors & gt; & Lt; / SearchBox & gt;
It's working fine in Windows 8.1, but I was just testing a preview version of Windows 10 and found that the circuits are not firing. After adding the query to the event holder in the code after the query, the query event gets cured, so it seems that the compulsory does not work. Does anyone have the same problem experience?
Try it out:
& lt; SearchBox & gt; & Lt; Interactivity: Interaction.Triggers & gt; & Lt; Interactivity: EventTrigger EventName = "Query Chenzed" & gt; & Lt; Interactivity: InvokeCommandAction command = "{Binding TxtSearchCommand}" & gt; & Lt; / Interactivity: invokecommandAction & gt; & Lt; / Interactivity: EventTrigger & gt; & Lt; / Interactivity: Interaction.Triggers & gt; & Lt; / SearchBox & gt;
Comments
Post a Comment