Xceed.Wpf.Toolkit.RangeSlider.GetCoercedValues C# (CSharp) Method

GetCoercedValues() private method

private GetCoercedValues ( ) : CoercedValues
return CoercedValues
      private CoercedValues GetCoercedValues()
      {
        CoercedValues cv = new CoercedValues();
        cv.Minimum = Math.Min( this.Minimum, this.Maximum );
        cv.Maximum = Math.Max( cv.Minimum, this.Maximum );
        cv.LowerValue = Math.Max( cv.Minimum, Math.Min( cv.Maximum, this.LowerValue ) );
        cv.HigherValue = Math.Max( cv.Minimum, Math.Min( cv.Maximum, this.HigherValue ) );
        cv.HigherValue = Math.Max( cv.LowerValue, cv.HigherValue );

        return cv;
      }