Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi
i am using checkbox inside listview in wpf application. i try to refer the checkbox control

like this

CheckBox myTextbox = GetTemplateChild("chb_standard") as CheckBox;

here chb_standard is checkbox name inside listview but problem here is it will display

mytextbox as null because of that i getting nullreference exception error.


if anyone have any idea about how to refer help me. i tried many option nothing will work for me thanks in advance
Posted
Comments
Shahare 10-Sep-13 14:54pm    
What is the use of the CheckBox? What are you trying to do? Some source code or sample will help

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