1 write to IsToggled
Microsoft.Maui.Controls (1)
ViewExtensions.cs (1)
440 sw.IsToggled = swResult;
7 references to IsToggled
Microsoft.Maui.Controls (7)
Switch\Switch.cs (7)
18 /// <summary>Bindable property for <see cref="IsToggled"/>.</summary> 19 public static readonly BindableProperty IsToggledProperty = BindableProperty.Create(nameof(IsToggled), typeof(bool), typeof(Switch), false, propertyChanged: (bindable, oldValue, newValue) => 69 if (IsEnabled && IsToggled) 71 else if (IsEnabled && !IsToggled) 99 if (IsToggled) 109 get => IsToggled; 115 return $"{base.GetDebuggerDisplay()}, IsToggled = {IsToggled}";