| File: Core\ISlider.cs | Web Access |
| Project: src\src\Core\src\Core.csproj (Microsoft.Maui) |
using Microsoft.Maui.Graphics; namespace Microsoft.Maui { /// <summary> /// Represents a View that inputs a linear value. /// </summary> public interface ISlider : IView, IRange { /// <summary> /// Gets or sets the color of the portion of the slider track that contains the minimum value of the slider. /// </summary> Color MinimumTrackColor { get; } /// <summary> /// Gets or sets the color of the portion of the slider track that contains the maximum value of the slider. /// </summary> Color MaximumTrackColor { get; } /// <summary> /// Gets or sets the color of the slider thumb button. /// </summary> Color ThumbColor { get; } /// <summary> /// Gets the image to use for the slider thumb button. /// </summary> IImageSource ThumbImageSource { get; } /// <summary> /// Notify when drag starts. /// </summary> void DragStarted(); /// <summary> /// Notify when drag is completed. /// </summary> void DragCompleted(); } }