Ejemplo n.º 1
0
        protected virtual RadPageViewItem OnItemCreating(RadPageViewItemCreatingEventArgs args)
        {
            if (this.ItemCreating != null)
            {
                this.ItemCreating(this, args);
            }

            return(args.Item);
        }
        protected override RadPageViewItem OnItemCreating(RadPageViewItemCreatingEventArgs args)
        {
            RadPageViewItemPage page = (args.Page as RadPageViewItemPage);

            if (page != null && page.ItemType == PageViewItemType.GroupHeaderItem)
            {
                args.Item = new RadPageViewStripGroupItem();
            }
            return(base.OnItemCreating(args));
        }