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
satish maddili
NA
46
10.7k
how to implement checkbox in xamarin forms
May 31 2018 9:19 AM
hi ,
I am implementing checkboxes using xlabs.controls.That checkboxes are inside the listview,but i cannot access the checkbox values in viewmodel or codebehind also.please help me.
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:vm="clr-namespace:LS_Service.ViewModel"
xmlns:controls="clr-namespace:XLabs.Forms.Controls;assembly=XLabs.Forms"
xmlns:helper="clr-namespace:LS_Service.Helper"
x:Class="LS_Service.Views.LS_Leaftypes" NavigationPage.HasNavigationBar="False">
<ListView x:Name="LS_leaftags" HasUnevenRows="True" ItemsSource="{Binding getlsleafdata}">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout x:Name="leaftypelayout" Orientation="Horizontal" HorizontalOptions="FillAndExpand" BackgroundColor="White" Padding="0,4,0,4">
<controls:CheckBox DefaultText="{Binding tag}" x:Uid="{Binding tagid}"/>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
Reply
Answers (
1
)
How to use css in Xamarin forms?
How to Authenticate Google without webview in xamarin.forms