Click here to Skip to main content
16,017,623 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to use a listview in WPF like Listview in ASP.Net. In ASP.Net the listview has InsertItemTemplate, EditItemTemplate, EmptyTemplate. Is it there any functions like InsertItemTemplate, EditItemTemplate, EmptyTemplate in Listview in WPF.

Thanks in advance...
Posted
Comments
Richard MacCutchan 18-Apr-15 3:35am    
Have you tried reading the documentation?

1 solution

Kochathu Thomas Tinu wrote:
Is it there any functions like InsertItemTemplate, EditItemTemplate, EmptyTemplate in Listview in WPF.


Strictly saying: NO.

See the documentation: ListView Class[^] as Richard MacCutchan[^] had mentioned.

For further information follow these links:
ListView Styles and Templates[^]
ListViewItem ControlTemplate Example[^]

Note: i have no idea why InsertItemTemplate, EditItemTemplate, EmptyTemplate properties/methods are so important to you. Nevertheless, note that both ListViews come from different frameworks, so they can contain different methods/properties, etc, even their names are equal.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900