예제 #1
0
        public bool Copy(TaskTemplate other)
        {
            if (!base.Copy(other))
            {
                return(false);
            }

            TableHeaderRow = other.TableHeaderRow;
            return(true);
        }
예제 #2
0
        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;
            }
        }
예제 #3
0
        override public void Clear()
        {
            base.Clear();

            TableHeaderRow = Layout.TableHeaderRowType.AutoGenerate;
        }