I have Created this bindable property in my CustomSlider it is giving me double value, so i want to convert it into integer at the time of rendering.
is it possible if it is please let me know
public static readonly BindableProperty ValueProperty = BindableProperty.Create(nameof(Value),
typeof(string), typeof(CustomSlider), string.Empty);
public string Value
{
get { return (string)Value; }
set { SetValue(ValueProperty, value); }
}
i want to use old value to convert into integer and return it as new value.
I don't want to use Converter