Share via


Switch.OffColor Property

Definition

Gets or sets the color of the toggle switch's track when it is in the off state. If not set, the default color will be used for the off-track appearance.

public:
 property Microsoft::Maui::Graphics::Color ^ OffColor { Microsoft::Maui::Graphics::Color ^ get(); void set(Microsoft::Maui::Graphics::Color ^ value); };
public Microsoft.Maui.Graphics.Color OffColor { get; set; }
member this.OffColor : Microsoft.Maui.Graphics.Color with get, set
Public Property OffColor As Color

Property Value

Applies to