Пример #1
0
        protected override IItemsViewSource CreateItemsViewSource()
        {
            // Use the BindableProperty here (instead of _isGroupingEnabled) because the cached value might not be set yet
            if (ItemsView.IsGrouped)
            {
                return(ItemsSourceFactory.CreateGrouped(ItemsView.ItemsSource, this));
            }

            return(base.CreateItemsViewSource());
        }