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

            CloneMembers(gr);
            return(gr);
        }
示例#2
0
        /// <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);
        }
        /// <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;
        }
 /// <summary>
 /// Clones every member
 /// </summary>
 /// <param name="group">Destination group</param>
 protected void CloneMembers(OutlookGridDateTimeGroup group)
 {
     base.CloneMembers(group);
     group.Interval = Interval;
 }