Example #1
0
        internal override Column Duplicate()
        {
            ColumnTemplate c = new ColumnTemplate(ColumnId, m_Table);

            CopyTo(c);
            return(c);

            #endregion
        }
Example #2
0
        internal override void CopyFrom(Column column)
        {
            base.CopyFrom(column);
            if (!(column is ColumnTemplate))
            {
                return;
            }
            ColumnTemplate c = (ColumnTemplate)column;

            //m_DetailContainer = c.m_DetailContainer;
            m_GridViewTemplate        = c.m_GridViewTemplate;
            m_DetailViewTemplate      = c.m_DetailViewTemplate;
            m_DetailTemplateContainer = c.m_DetailTemplateContainer;
        }
Example #3
0
        internal override Column CopyTo(Column column)
        {
            if (column is ColumnTemplate)
            {
                ColumnTemplate c = (ColumnTemplate)base.CopyTo(column);

                //   c.m_DetailContainer = m_DetailContainer;
                c.m_GridViewTemplate = m_GridViewTemplate;

                c.m_DetailViewTemplate = m_DetailViewTemplate;

                c.m_DetailTemplateContainer = m_DetailTemplateContainer;
                return(c);
            }
            return(base.CopyTo(column));
        }
Example #4
0
        internal override Column Duplicate()
        {
            ColumnTemplate c = new ColumnTemplate(ColumnId, m_Table);
            CopyTo(c);
            return c;

        #endregion


        }