public virtual object clone()
        {
            LayoutPanelTable o = new LayoutPanelTable();

            o.LayoutPanelId = LayoutPanelId;

            o.Columns             = Columns;
            o.ColumnWidths        = ColumnWidths;
            o.EnableFilters       = EnableFilters;
            o.SortTypeUp          = SortTypeUp;
            o.SortIndex           = SortIndex;
            o.HeaderAutoresize    = HeaderAutoresize;
            o.HeaderRowHeight     = HeaderRowHeight;
            o.ColumnsPreference   = ColumnsPreference;
            o.LockedColumns       = LockedColumns;
            o.DockingState        = DockingState;
            o.SortablePreference  = SortablePreference;
            o.FiltersPreference   = FiltersPreference;
            o.ShowsAssignments    = ShowsAssignments;
            o.ShowsVisualizer     = ShowsVisualizer;
            o.SelectedVisualizer  = SelectedVisualizer;
            o.ShowsSideBar        = ShowsSideBar;
            o.ShowingExtraLevel   = ShowingExtraLevel;
            o.EnableGrouping      = EnableGrouping;
            o.DisplayGrouping     = DisplayGrouping;
            o.GroupedColumns      = GroupedColumns;
            o.GroupedColumnOrders = GroupedColumnOrders;
            o.Visible             = Visible;

            return(o);
        }
        public virtual LayoutPanelTable copyWithLayoutTable()
        {
            LayoutPanelTable o = (LayoutPanelTable)clone();

            if (LayoutTable != null)
            {
                o.LayoutTable = (LayoutTable)LayoutTable.clone();
            }

            return(o);
        }