Esempio n. 1
0
        /// <inheritdoc />
        protected override void CloneCore(Cloneable source)
        {
            base.CloneCore(source);
            AggregateDescriptionBase aggregateDescriptionBase = source as AggregateDescriptionBase;

            if (aggregateDescriptionBase != null)
            {
                ((IAggregateDescription)this).TotalFormat = Cloneable.CloneOrDefault(((IAggregateDescription)aggregateDescriptionBase).TotalFormat);
            }
        }
Esempio n. 2
0
        /// <inheritdoc />
        protected override void CloneCore(Cloneable source)
        {
            GroupDescription dg = source as GroupDescription;

            if (dg != null)
            {
                this.showGroupsWithNoData = dg.showGroupsWithNoData;
                this.groupFilter          = Cloneable.CloneOrDefault(dg.groupFilter);
            }

            base.CloneCore(source);
        }
Esempio n. 3
0
        /// <inheritdoc />
        protected override void CloneCore(Cloneable source)
        {
            base.CloneCore(source);

            GroupDescriptionBase original = source as GroupDescriptionBase;

            if (original != null)
            {
                this.SortOrder = original.SortOrder;
                ((IGroupDescription)this).GroupComparer = Cloneable.CloneOrDefault(((IGroupDescription)original).GroupComparer);
            }
        }
Esempio n. 4
0
        /// <inheritdoc />
        protected override sealed void CloneCore(Cloneable source)
        {
            this.CloneOverride(source);
            PropertyFilterDescriptionBase original = source as PropertyFilterDescriptionBase;

            if (original != null)
            {
                this.Condition = Cloneable.CloneOrDefault(original.Condition);
            }

            base.CloneCore(source);
        }
Esempio n. 5
0
        /// <inheritdoc />
        protected override sealed void CloneCore(Cloneable source)
        {
            this.CloneOverride(source);
            PropertyAggregateDescriptionBase original = source as PropertyAggregateDescriptionBase;

            if (original != null)
            {
                this.AggregateFunction    = Cloneable.CloneOrDefault(original.AggregateFunction);
                this.StringFormatSelector = Cloneable.CloneOrDefault(original.StringFormatSelector);
                this.StringFormat         = original.StringFormat;
            }

            base.CloneCore(source);
        }