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)
189 /// <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> 365 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)
332 if (IsEnabled) 366 if (IsEnabled)
RefreshView\RefreshView.cs (2)
55 if (!view.IsEnabled) 136 !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)
41 /// <summary>Bindable property for <see cref="IsEnabled"/>.</summary> 42 public static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool), 655 if (parent is not null && !parent.IsEnabled) 1575 if (!IsEnabled) 1588 if (IsEnabled)