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);
25 references to IsEnabled
Microsoft.Maui.Controls (21)
Button\Button.cs (2)
188 /// <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> 364 if (IsEnabled && IsPressed)
Button\ButtonElement.cs (2)
37 if (visualElement.IsEnabled == true) 52 if (visualElement.IsEnabled == true)
CheckBox\CheckBox.cs (1)
46 if (IsEnabled && IsChecked)
Entry\Entry.cs (1)
178 if (IsEnabled)
ImageButton\ImageButton.cs (1)
138 if (IsEnabled && IsPressed)
RadioButton\RadioButton.cs (2)
330 if (IsEnabled) 364 if (IsEnabled)
RefreshView\RefreshView.cs (2)
53 if (!view.IsEnabled) 134 !IsEnabled &&
Slider\Slider.cs (2)
152 if (IsEnabled) 161 if (IsEnabled)
SwipeView\SwipeView.cs (1)
281 Handler?.UpdateValue(nameof(IsEnabled));
Switch\Switch.cs (2)
67 if (IsEnabled && IsToggled) 69 else if (IsEnabled && !IsToggled)
VisualElement\VisualElement.cs (5)
38 /// <summary>Bindable property for <see cref="IsEnabled"/>.</summary> 39 public static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool), 652 if (parent is not null && !parent.IsEnabled) 1572 if (!IsEnabled) 1585 if (IsEnabled)
Microsoft.Maui.Controls.Compatibility (4)
Tizen\Renderers\ViewRenderer.cs (2)
54 if (initialize && Element.IsEnabled) 59 GestureDetector.IsEnabled = Element.IsEnabled;
Tizen\Renderers\VisualElementRenderer.cs (2)
735 if (initialize && Element.IsEnabled) 738 NativeView.SetEnable(Element.IsEnabled);