3 writes to IsEnabled
Microsoft.Maui.Controls (3)
Cells\TextCell.cs (3)
25
textCell.
IsEnabled
= newcommand.CanExecute(textCell.CommandParameter);
37
textCell.
IsEnabled
= textCell.Command.CanExecute(newvalue);
109
IsEnabled
= Command.CanExecute(CommandParameter);
17 references to IsEnabled
Microsoft.Maui.Controls (17)
Cells\Cell.cs (3)
18
/// <summary>Bindable property for <see cref="
IsEnabled
"/>.</summary>
19
public static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(
IsEnabled
), typeof(bool), typeof(Cell), true, propertyChanged: OnIsEnabledPropertyChanged);
104
get { return _contextActions != null && _contextActions.Count > 0 &&
IsEnabled
; }
Cells\TextCell.cs (1)
99
if (!
IsEnabled
)
Compatibility\Handlers\ListView\iOS\EntryCellRenderer.cs (4)
111
cell.UserInteractionEnabled = entryCell.
IsEnabled
;
112
cell.TextLabel.Enabled = entryCell.
IsEnabled
;
113
cell.DetailTextLabel.Enabled = entryCell.
IsEnabled
;
114
cell.TextField.Enabled = entryCell.
IsEnabled
;
Compatibility\Handlers\ListView\iOS\SwitchCellRenderer.cs (4)
111
cell.UserInteractionEnabled = switchCell.
IsEnabled
;
113
cell.TextLabel.Enabled = switchCell.
IsEnabled
;
114
cell.DetailTextLabel.Enabled = switchCell.
IsEnabled
;
118
uiSwitch.Enabled = switchCell.
IsEnabled
;
Compatibility\Handlers\ListView\iOS\TextCellRenderer.cs (3)
94
cell.UserInteractionEnabled = entryCell.
IsEnabled
;
95
cell.TextLabel.Enabled = entryCell.
IsEnabled
;
96
cell.DetailTextLabel.Enabled = entryCell.
IsEnabled
;
Compatibility\Handlers\ListView\iOS\ViewCellRenderer.cs (2)
85
UpdateIsEnabled(viewCell.
IsEnabled
);
222
UpdateIsEnabled(cell.
IsEnabled
);