windows phone : no trigger in xaml? -


i don't know how use triggers in xaml of windows phone 8.

but have seen people it, below:

<toolkit:listpicker header="background"                                 expansionmode="fullscreenonly"                                 template="{staticresource listpickercontroltemplate}"                                 verticalalignment="top"                                 itemssource="{binding path=buildings.objectlist}"                                 margin="0"                                 x:name="buldings"                                 padding="0">                 <i:interaction.triggers>                     <i:eventtrigger eventname="selectionchanged">                         <i:invokecommandaction  command="{binding path=buildingselectioncommand}"                                                 commandparameter="{binding path=selecteditem, elementname=buldings}" />                     </i:eventtrigger>                 </i:interaction.triggers> 

but don't have system.windows.interactivity. , failed find compatible package through nuget.

thanks patience.

right click on references -> add reference.. -> extensions -> select system.windows.interactivity

the assembly resides here:

c:\program files (x86)\microsoft sdks\expression\blend\windows phone\v8.0\libraries\


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -