33 references to Slider
Microsoft.Maui.Controls (33)
Hosting\AppHostBuilderExtensions.cs (1)
82 handlersCollection.AddHandler<Slider, SliderHandler>();
PlatformConfiguration\iOSSpecific\Slider.cs (4)
4 using FormsElement = Maui.Controls.Slider; 25 public static bool GetUpdateOnTap(this IPlatformElementConfiguration<iOS, FormsElement> config) 31 public static IPlatformElementConfiguration<iOS, FormsElement> SetUpdateOnTap(this IPlatformElementConfiguration<iOS, FormsElement> config, bool value)
Properties\AssemblyInfo.cs (6)
156[assembly: StyleProperty("-maui-min-track-color", typeof(Slider), nameof(Slider.MinimumTrackColorProperty))] 157[assembly: StyleProperty("-maui-max-track-color", typeof(Slider), nameof(Slider.MaximumTrackColorProperty))] 158[assembly: StyleProperty("-maui-thumb-color", typeof(Slider), nameof(Slider.ThumbColorProperty))]
Slider\Slider.cs (22)
11 public partial class Slider : View, ISliderController, IElementConfiguration<Slider>, ISlider 14 public static readonly BindableProperty MinimumProperty = BindableProperty.Create(nameof(Minimum), typeof(double), typeof(Slider), 0d, coerceValue: (bindable, value) => 16 var slider = (Slider)bindable; 22 public static readonly BindableProperty MaximumProperty = BindableProperty.Create(nameof(Maximum), typeof(double), typeof(Slider), 1d, coerceValue: (bindable, value) => 24 var slider = (Slider)bindable; 30 public static readonly BindableProperty ValueProperty = BindableProperty.Create(nameof(Value), typeof(double), typeof(Slider), 0d, BindingMode.TwoWay, coerceValue: (bindable, value) => 32 var slider = (Slider)bindable; 36 var slider = (Slider)bindable; 41 public static readonly BindableProperty MinimumTrackColorProperty = BindableProperty.Create(nameof(MinimumTrackColor), typeof(Color), typeof(Slider), null); 44 public static readonly BindableProperty MaximumTrackColorProperty = BindableProperty.Create(nameof(MaximumTrackColor), typeof(Color), typeof(Slider), null); 47 public static readonly BindableProperty ThumbColorProperty = BindableProperty.Create(nameof(ThumbColor), typeof(Color), typeof(Slider), null); 50 public static readonly BindableProperty ThumbImageSourceProperty = BindableProperty.Create(nameof(ThumbImageSource), typeof(ImageSource), typeof(Slider), default(ImageSource)); 53 public static readonly BindableProperty DragStartedCommandProperty = BindableProperty.Create(nameof(DragStartedCommand), typeof(ICommand), typeof(Slider), default(ICommand)); 56 public static readonly BindableProperty DragCompletedCommandProperty = BindableProperty.Create(nameof(DragCompletedCommand), typeof(ICommand), typeof(Slider), default(ICommand)); 58 readonly Lazy<PlatformConfigurationRegistry<Slider>> _platformConfigurationRegistry; 63 _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<Slider>>(() => new PlatformConfigurationRegistry<Slider>(this)); 171 public IPlatformElementConfiguration<T, Slider> On<T>() where T : IConfigPlatform