longlistselector - Windows 8.1 phone app ExtendedListView.GroupStyle not working -
i using extendedlistview in application need pool refresh option.
i have installed extendedlistview 0.0.5.5 installing nuget package: install-package extendedlistview
now want sticky header in listview.
so able in simple list view below code.
<listview isholdingenabled="true" itemssource="{binding source={staticresource addressgroups}}" itemtemplate="{staticresource addrbookitemtemplate}" continuumnavigationtransitioninfo.exitelementcontainer="true"> <listview.groupstyle> <groupstyle hidesifempty="true" headertemplate="{staticresource addrbookgroupheadertemplate}"/> </listview.groupstyle> </listview>
but same thing not working in extendedlistview.
<ctrl:extendedlistview isholdingenabled="true" itemssource="{binding source={staticresource addressgroups}}" itemtemplate="{staticresource addrbookitemtemplate}" continuumnavigationtransitioninfo.exitelementcontainer="true" > <ctrl:extendedlistview.groupstyle> <groupstyle headertemplate="{staticresource addrbookgroupheadertemplate}" /> </ctrl:extendedlistview.groupstyle> </ctrl:extendedlistview>
i have used same headertemplate in both code below:
<datatemplate x:key="addrbookgroupheadertemplate"> <border background="transparent" padding="5"> <border background="red" borderbrush="red" borderthickness="2" width="80" height="62" margin="0,0,18,0" horizontalalignment="left"> <textblock text="{binding key}" foreground="white" fontsize="48" padding="6" horizontalalignment="left" verticalalignment="center"/> </border> </border> </datatemplate>
please guide me asap.
thanks in advance.
Comments
Post a Comment