/// <summary> /// Clones this object. /// </summary> /// <returns>The cloned object.</returns> public virtual object Clone() { var newItem = new ThemePartBase(); newItem.Normal = this.Normal.Clone(); newItem.Focused = this.Focused.Clone(); newItem.MouseOver = this.MouseOver.Clone(); newItem.Disabled = this.Disabled.Clone(); return newItem; }
/// <summary> /// Clones this object. /// </summary> /// <returns>The cloned object.</returns> public virtual object Clone() { var newItem = new ThemePartBase(); newItem.Normal = this.Normal.Clone(); newItem.Focused = this.Focused.Clone(); newItem.MouseOver = this.MouseOver.Clone(); newItem.Disabled = this.Disabled.Clone(); return(newItem); }