c# - Edit and search item in listview -
is there control jquery datatable in wpf searching item listview or how can implement efficient search in listvew. secondly, have image , title in listview control. how can add "edit functionality" change image title. don't have clue because i'm new in wpf. how can perform task. example or useful code helpfull me.
<listview name="lvdatabinding"> <listview.view> <gridview > <gridviewcolumn > <gridviewcolumn.celltemplate> <datatemplate > <stackpanel margin="20,5,0,0" orientation="horizontal" horizontalalignment="center"> <image margin="15,5,0,0" style="{staticresource popupimagestyle}" horizontalalignment="center" width="60" tooltip="{binding name}" height="60" source="{binding imgpath}"></image> <textblock visibility="hidden" text="{binding name}"/> </stackpanel> </datatemplate> </gridviewcolumn.celltemplate> </gridviewcolumn> <gridviewcolumn > <gridviewcolumn.celltemplate> <datatemplate > <stackpanel margin="20,5,0,0" orientation="horizontal" horizontalalignment="center"> <textblock text="{binding title}"> <textblock.style> <style> <setter property="textblock.fontsize" value="20"></setter></style> </textblock.style> </textblock> </stackpanel> </datatemplate> </gridviewcolumn.celltemplate> </gridviewcolumn> <!--<gridviewcolumn displaymemberbinding="{binding name}" />--> </gridview> </listview.view> <listview.itemcontainerstyle> <style targettype="listviewitem"> <eventsetter event="previewmouseleftbuttondown" handler="listviewitem_previewmouseleftbuttondown" /> </style> </listview.itemcontainerstyle> </listview>
Comments
Post a Comment