/// <summary>
 /// Clones this object.
 /// </summary>
 /// <returns>The cloned theme.</returns>
 public override object Clone()
 {
     var newItem = new ThemePartSelected();
     newItem.Normal = this.Normal.Clone();
     newItem.Focused = this.Focused.Clone();
     newItem.MouseOver = this.MouseOver.Clone();
     newItem.Disabled = this.Disabled.Clone();
     newItem.MouseClicking = this.MouseClicking.Clone();
     newItem.Selected = this.Selected.Clone();
     return newItem;
 }
Exemple #2
0
        /// <summary>
        /// Clones this object.
        /// </summary>
        /// <returns>The cloned theme.</returns>
        public override object Clone()
        {
            var newItem = new ThemePartSelected();

            newItem.Normal        = this.Normal.Clone();
            newItem.Focused       = this.Focused.Clone();
            newItem.MouseOver     = this.MouseOver.Clone();
            newItem.Disabled      = this.Disabled.Clone();
            newItem.MouseClicking = this.MouseClicking.Clone();
            newItem.Selected      = this.Selected.Clone();
            return(newItem);
        }