public StarRatingControl Clone()
        {
            StarRatingControl r = new StarRatingControl();

            r.LeftMargin       = this.LeftMargin;
            r.RightMargin      = this.RightMargin;
            r.TopMargin        = this.TopMargin;
            r.BottomMargin     = this.BottomMargin;
            r.StarSpacing      = this.StarSpacing;
            r.StarCount        = this.StarCount;
            r.OutlineColor     = this.OutlineColor;
            r.HoverColor       = this.HoverColor;
            r.SelectedColor    = this.SelectedColor;
            r.OutlineThickness = this.OutlineThickness;
            r.SelectedStar     = this.SelectedStar;
            return(r);
        }
 public StarRatingControl Clone()
 {
     StarRatingControl r = new StarRatingControl();
     r.LeftMargin = this.LeftMargin;
     r.RightMargin = this.RightMargin;
     r.TopMargin = this.TopMargin;
     r.BottomMargin = this.BottomMargin;
     r.StarSpacing = this.StarSpacing;
     r.StarCount = this.StarCount;
     r.OutlineColor = this.OutlineColor;
     r.HoverColor = this.HoverColor;
     r.SelectedColor = this.SelectedColor;
     r.OutlineThickness = this.OutlineThickness;
     r.SelectedStar = this.SelectedStar;
     return r;
 }