Example #1
0
 protected override void OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs e)
 {
     double value;
     this.State = RatingItemState.Pressed;
     Double.TryParse(this.Content.ToString(), out value);
     Rating.OldValue = ParentItem.RatingValue = ++value;
 }
Example #2
0
        protected override void OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs e)
        {
            double value;

            this.State = RatingItemState.Pressed;
            Double.TryParse(this.Content.ToString(), out value);
            Rating.OldValue = ParentItem.RatingValue = ++value;
        }
Example #3
0
 protected override void OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e)
 {
     this.State = RatingItemState.Active;
 }
Example #4
0
 protected override void OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e)
 {
     this.State = RatingItemState.Active;
 }