listview1 [WPF] ListView 갱신하는 방법 WPF 에서 ListView에 List를 바인딩해서 사용하는 경우, 바인딩되어 있는 List가 갱신되지 않는 경우가 발생한다. 이 경우에 사용할 수 있는 방법이다. using System.ComponentModel; public class GroupInfo { string GroupName { get; set; } int GroupMemeberCnt { get; set; } } List groupinfos = new List(); private void RefreshGroupList() { listview_GroupList.ItemsSource = groupinfos; //바인딩할 List 리스트뷰에 바인딩 //바인딩한 리스트 갱신 ICollectionView view = CollectionViewSou.. 2023. 4. 6. 이전 1 다음