c# WPF 关于listview显示数据的问题,前台已经绑定好了但是后台没取到数据,下面是主要代码帮忙看看问题 10
privatevoidradiobutton_Checked(objectsender,RoutedEventArgse){Refresh();}Refresh(){Li...
private void radiobutton_Checked(object sender, RoutedEventArgs e)
{Refresh();}
Refresh(){List.Clear();
List.Add(new ListContent("0", "啊啊", "店面") { SupporterName = "多多" });}
public class ListContent : ViewBase
{
public ListContent(string number, string name, string type)
{
Number = number;
Name = name;
Type = type;
}
}
已经解决了 展开
{Refresh();}
Refresh(){List.Clear();
List.Add(new ListContent("0", "啊啊", "店面") { SupporterName = "多多" });}
public class ListContent : ViewBase
{
public ListContent(string number, string name, string type)
{
Number = number;
Name = name;
Type = type;
}
}
已经解决了 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询