Hi there,
Is that possible to bind the Visibility property of TreeListView Row into a ViewModel's property?
For example here is the format of the ViewModel
So, is that possible to set the Visibility property of TreeListView row to Collapsed when IsVisible value is false?
I've tried to look for some APIs here but can't find any API that can serve my purpose.
http://www.telerik.com/help/wpf/telerik.windows.controls.gridview-telerik.windows.controls.radtreelistview_members.html
Regards,
Arinto
Is that possible to bind the Visibility property of TreeListView Row into a ViewModel's property?
For example here is the format of the ViewModel
public class EntryViewModel{ private String _name; private ObservableCollection<EntryViewModel> _items; private Boolean _isVisible; public EntryViewModel(String name, Boolean isVisible = true) { _name = name; _items = new ObservableCollection<TSEntryViewModel>(); _isVisible = isVisible; } public String Name { get { return _name;} set { _name = value; } } public ObservableCollection<EntryViewModel> Items { get { return _items; } set { _items = value; } } public Boolean IsVisible { get { return _isVisible; } set { _isVisible = value; } }}So, is that possible to set the Visibility property of TreeListView row to Collapsed when IsVisible value is false?
I've tried to look for some APIs here but can't find any API that can serve my purpose.
http://www.telerik.com/help/wpf/telerik.windows.controls.gridview-telerik.windows.controls.radtreelistview_members.html
Regards,
Arinto