public bool Copy(TaskTemplate other) { if (!base.Copy(other)) { return(false); } TableHeaderRow = other.TableHeaderRow; return(true); }
override public void Read(XDocument doc) { base.Read(doc); var xElm = doc.Root.Element(XmlTag).Element("tableHeaderOption"); if (xElm == null) { TableHeaderRow = Layout.TableHeaderRowType.AutoGenerate; } else { TableHeaderRow = (Layout.TableHeaderRowType)(int) xElm; } }
override public void Clear() { base.Clear(); TableHeaderRow = Layout.TableHeaderRowType.AutoGenerate; }