/// <summary> /// Overrides the Clone() function /// </summary> /// <returns>OutlookGridAlphabeticGroup</returns> public override object Clone() { OutlookGridAlphabeticGroup gr = new OutlookGridAlphabeticGroup(parentGroup); CloneMembers(gr); return(gr); }
/// <summary> /// Overrides the Clone() function /// </summary> /// <returns>OutlookGridAlphabeticGroup</returns> public override object Clone() { OutlookGridAlphabeticGroup gr = new OutlookGridAlphabeticGroup(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; return(gr); }
/// <summary> /// Clones every member /// </summary> /// <param name="group">Destination group</param> protected void CloneMembers(OutlookGridAlphabeticGroup group) { base.CloneMembers(group); // no additional members }