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
Post a Comment