Пример #1
0
        /// <summary>
        /// Overrides the Clone() function
        /// </summary>
        /// <returns>OutlookGridDateTimeGroup</returns>
        public override object Clone()
        {
            OutlookGridDateTimeGroup gr = new OutlookGridDateTimeGroup(parentGroup);

            CloneMembers(gr);
            return(gr);
        }
        /// <summary>
        /// Overrides the Clone() function
        /// </summary>
        /// <returns>OutlookGridDateTimeGroup</returns>
        public override object Clone()
        {
            OutlookGridDateTimeGroup gr = new OutlookGridDateTimeGroup(parentGroup);

            gr.column    = column;
            gr.val       = val;
            gr.collapsed = collapsed;
            //gr.text = this.text;
            gr.height                 = height;
            gr.groupImage             = groupImage;
            gr.formatStyle            = formatStyle;
            gr.xXXItemsText           = XXXItemsText;
            gr.oneItemText            = OneItemText;
            gr.allowHiddenWhenGrouped = allowHiddenWhenGrouped;
            gr.sortBySummaryCount     = sortBySummaryCount;
            gr.Interval               = Interval;

            return(gr);
        }
Пример #3
0
 /// <summary>
 /// Clones every member
 /// </summary>
 /// <param name="group">Destination group</param>
 protected void CloneMembers(OutlookGridDateTimeGroup group)
 {
     base.CloneMembers(group);
     group.Interval = Interval;
 }