Beispiel #1
0
        public CollectionViewGroup(object group, PropertyPath itemsPath)
        {
            Group = group;

            if (itemsPath != null)
            {
                _bindingPath             = new BindingPath(itemsPath.Path, null);
                _bindingPath.DataContext = group;

                GroupItems = ObservableVectorWrapper.Create(_bindingPath.Value);
            }
            else
            {
                GroupItems = ObservableVectorWrapper.Create(group);
            }
        }
Beispiel #2
0
        public CollectionViewGroup(object group)
        {
            Group = group;

            GroupItems = ObservableVectorWrapper.Create(group);
        }