/// <summary> /// Implements the deep copy of the object. /// </summary> protected override object DeepCopy() { Column column = (Column)base.DeepCopy(); column.ResetCachedValues(); if (column._format != null) { column._format = column._format.Clone(); column._format._parent = column; } if (column._borders != null) { column._borders = column._borders.Clone(); column._borders._parent = column; } if (column._shading != null) { column._shading = column._shading.Clone(); column._shading._parent = column; } return(column); }