protected override int ToSliderValueY(double propertyValue) { if (this.useExponentialScale) { return(PropertyControlUtil.ToSliderValueExp(propertyValue, base.Property.MinValueY, base.Property.MaxValueY, this.DecimalPlaces)); } return(PropertyControlUtil.ToSliderValue(propertyValue, this.DecimalPlaces)); }