public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
        {
            var headerSiteHeight = (double)values[0];
            var expandSiteHeight = (double)values[1];
            var scale            = (double)values[2];

            var result = headerSiteHeight + expandSiteHeight * scale;

            return(Boxes.Double(result));
        }
 public static void SetVerticalScrollBarOpacity(DependencyObject target, double value)
 {
     target.SetValue(VerticalScrollBarOpacityProperty, Boxes.Double(value));
 }