/// <summary>
        ///     Set stars in rating control
        /// </summary>
        /// <param name="starValue">star rating (step)</param>
        public void SetStarStep(int starValue)
        {
            RatingStar ratingStar = new RatingStar();

            ratingStar.Value = starValue;

            SetStarStep(ratingStar);
        }
        /// <summary>
        ///     Set stars in rating control
        /// </summary>
        /// <param name="star">object with rating state and rating step</param>
        private void SetStarStep(RatingStar star)
        {
            int counter = 1;

            foreach (RatingStar ratingStar in pnlStarContainer.Children)
            {
                ratingStar.State = counter <= star.Value
                    ? RatingStar.StarState.Filled
                    : RatingStar.StarState.Empty;

                counter++;
            }
        }