17 references to CommandElement
Microsoft.Maui.Controls (17)
Button\Button.cs (1)
466 base.IsEnabledCore && CommandElement.GetCanExecute(this);
Button\ButtonElement.cs (3)
15 propertyChanging: CommandElement.OnCommandChanging, propertyChanged: CommandElement.OnCommandChanged); 22 propertyChanged: CommandElement.OnCommandParameterChanged);
ImageButton\ImageButton.cs (1)
247 base.IsEnabledCore && CommandElement.GetCanExecute(this);
Menu\MenuItem.cs (4)
21 propertyChanging: CommandElement.OnCommandChanging, 22 propertyChanged: CommandElement.OnCommandChanged); 27 propertyChanged: CommandElement.OnCommandParameterChanged); 134 var canExecute = CommandElement.GetCanExecute(menuItem);
RefreshView\RefreshView.cs (4)
72 propertyChanging: CommandElement.OnCommandChanging, 73 propertyChanged: CommandElement.OnCommandChanged); 89 propertyChanged: CommandElement.OnCommandParameterChanged); 119 protected override bool IsEnabledCore => base.IsEnabledCore && CommandElement.GetCanExecute(this);
SearchBar\SearchBar.cs (4)
16 propertyChanging: CommandElement.OnCommandChanging, propertyChanged: CommandElement.OnCommandChanged); 21 propertyChanged: CommandElement.OnCommandParameterChanged); 120 base.IsEnabledCore && CommandElement.GetCanExecute(this);