C# 클래스 AmazonScrape.ScoreDistributionControl

상속: GridPlus, IValidatable
파일 보기 프로젝트 열기: ThomasRush/AmazonScrape

공개 메소드들

메소드 설명
ScoreDistributionControl ( ) : System
Validate ( ) : System.Windows.Controls.ValidationResult

Returns whether the control is validated Always returns true, as the control ensures valid values.

비공개 메소드들

메소드 설명
GetNewSumOfLowRange ( RangeSliderX sender, double newValue ) : double

Returns the sum total of "low" range scores, given a RangeSlider that just had its value modified.

GetOtherSlidersWithPositiveLowScore ( RangeSliderX sender ) : List

Given a RangeSlider, provides a list of the other RangeSliders that have a positive "low" range value. Used when adjusting the total of the "low" range sliders to not exceed 100%.

slider_LowValueChanged ( RangeSliderX sender, double oldValue, double newValue ) : void

Prevents user from specifying a total minimum number of results that exceeds 100% by dynamically reducing the values of the other sliders.

메소드 상세

ScoreDistributionControl() 공개 메소드

public ScoreDistributionControl ( ) : System
리턴 System

Validate() 공개 메소드

Returns whether the control is validated Always returns true, as the control ensures valid values.
public Validate ( ) : System.Windows.Controls.ValidationResult
리턴 System.Windows.Controls.ValidationResult