C# Класс AmazonScrape.ScoreDistributionControl

Наследование: GridPlus, IValidatable
Показать файл Открыть проект

Открытые методы

Метод Описание
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