TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sajid raja
NA
66
47.3k
Access Checkbox inside list box in C# in Windows Phone
Jun 27 2013 12:00 PM
Hello
I am developing a windows phone application. I have created check box inside list box in XAML. Following is the XAML code
<ListBox Name="lstcontacts" ItemsSource="{Binding}" Margin="10,52,10,113" SelectionMode="Multiple" Foreground="#FF333333" >
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox Name="contactChk" IsChecked="true" Foreground="Black" Background="Black" BorderBrush="Black" />
<TextBlock Name="txtResults" Text="{Binding Path=DisplayName, Mode=OneWay}" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
I want to access checkBox name contactChk via C# and want to access check box value in C#. but i am unable to access Check box in C#. Can anybody please tell me how can i do this.
Reply
Answers (
0
)
Tile Animation in Windows phone Inside the App
How to use Sqlite DataReader in windwos phone 8 using sqlite