How do I add a CheckBox
in my ListView
in MainPage.xaml.cs? This is my code where I populate my Listview
foreach (char parameter in App.dados)
{
dados += parameter.ToString();
espaco = dados.IndexOf(" \n ");
if (espaco >= 0)
{
ListViewItem lvItem = new ListViewItem();
lvItem.Holding += ListViewItem_Holding;
lvItem.FontSize = 25;
lvItem.Width = 500;
lvItem.Content = dados;
listView.Items.Add(lvItem);
dados = "";
}
}
Aucun commentaire:
Enregistrer un commentaire