private ObservableCollection<IControlableModel> _controls = null; public ObservableCollection<IControlableModel> Controls { get { if (_controls == null) { _controls = new ObservableCollection<IControlableModel>(); } return _controls; } set { _controls = value; OnPropertyChanged("Controls"); } } CollectionViewSource _notMaskedControls = null; public CollectionViewSource NotMaskedControls { get { if (_notMaskedControls == null) { _notMaskedControls = new CollectionViewSource() { Source = Controls }; } return _notMaskedControls; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)