Implemented interface member:
property
IsEnabled
Microsoft.Maui.IView.IsEnabled
3 writes to IsEnabled
Microsoft.Maui.Controls (3)
SwipeView\SwipeItemView.cs (3)
49 IsEnabled = Command?.CanExecute(CommandParameter) ?? true; 70 IsEnabled = Command.CanExecute(CommandParameter); 75 IsEnabled = Command.CanExecute(CommandParameter);
21 references to IsEnabled
Microsoft.Maui.Controls (21)
Button\Button.cs (2)
190 /// <remarks>This property is used to associate a command with an instance of a button. This property is most often set in the MVVM pattern to bind callbacks back into the ViewModel. <see cref="VisualElement.IsEnabled" /> is controlled by the <see cref="Command.CanExecute(object)"/> if set.</remarks> 366 if (IsEnabled && IsPressed)
Button\ButtonElement.cs (2)
37 if (visualElement.IsEnabled == true) 52 if (visualElement.IsEnabled == true)
CheckBox\CheckBox.cs (1)
48 if (IsEnabled && IsChecked)
Entry\Entry.cs (1)
178 if (IsEnabled)
ImageButton\ImageButton.cs (1)
138 if (IsEnabled && IsPressed)
RadioButton\RadioButton.cs (2)
333 if (IsEnabled) 367 if (IsEnabled)
RefreshView\RefreshView.cs (2)
56 if (!view.IsEnabled) 137 !IsEnabled &&
Slider\Slider.cs (2)
154 if (IsEnabled) 163 if (IsEnabled)
SwipeView\SwipeView.cs (1)
281 Handler?.UpdateValue(nameof(IsEnabled));
Switch\Switch.cs (2)
69 if (IsEnabled && IsToggled) 71 else if (IsEnabled && !IsToggled)
VisualElement\VisualElement.cs (5)
42 /// <summary>Bindable property for <see cref="IsEnabled"/>.</summary> 43 public static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool), 656 if (parent is not null && !parent.IsEnabled) 1576 if (!IsEnabled) 1589 if (IsEnabled)