/// <summary> /// Clones the table /// </summary> /// <returns></returns> public override object Clone() { GUITable ret = new GUITable(); // GUIControl level copy ret.ID = this.ID; ret.Name = Name; ret.Layout = this.Layout.Clone() as TableLayout; ret.Scene = Scene; ret.Parent = Parent; ret.AnchorFlags = this.AnchorFlags; ret.Mask = this.Mask; // GUITable level copy ret.DefaultRowHeight = this.DefaultRowHeight; ret.RowSpacing = this.RowSpacing; return ret; }
/// <summary> /// Clones the table /// </summary> /// <returns></returns> public override object Clone() { GUITable ret = new GUITable(); // GUIControl level copy ret.ID = this.ID; ret.Name = Name; ret.Layout = this.Layout.Clone() as TableLayout; ret.Scene = Scene; ret.Parent = Parent; ret.AnchorFlags = this.AnchorFlags; ret.Mask = this.Mask; // GUITable level copy ret.DefaultRowHeight = this.DefaultRowHeight; ret.RowSpacing = this.RowSpacing; return(ret); }