11 references to GetPropertyIfSet
Microsoft.Maui.Controls (11)
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (9)
329
var image = behavior.
GetPropertyIfSet
<ImageSource>(BackButtonBehavior.IconOverrideProperty, null);
330
var enabled = behavior.
GetPropertyIfSet
(BackButtonBehavior.IsEnabledProperty, true);
331
var text = behavior.
GetPropertyIfSet
<string>(BackButtonBehavior.TextOverrideProperty, null);
332
var command = behavior.
GetPropertyIfSet
<object>(BackButtonBehavior.CommandProperty, null);
333
var backButtonVisible = behavior.
GetPropertyIfSet
<bool>(BackButtonBehavior.IsVisibleProperty, true);
402
var text = behavior.
GetPropertyIfSet
<string>(BackButtonBehavior.TextOverrideProperty, null);
434
var command = behavior.
GetPropertyIfSet
<ICommand>(BackButtonBehavior.CommandProperty, null);
435
var commandParameter = behavior.
GetPropertyIfSet
<object>(BackButtonBehavior.CommandParameterProperty, null);
515
bool isEnabled = BackButtonBehavior.
GetPropertyIfSet
<bool>(BackButtonBehavior.IsEnabledProperty, true);
Compatibility\Handlers\Shell\iOS\ShellSectionRenderer.cs (2)
118
var command = behavior.
GetPropertyIfSet
<ICommand>(BackButtonBehavior.CommandProperty, null);
119
var commandParameter = behavior.
GetPropertyIfSet
<object>(BackButtonBehavior.CommandParameterProperty, null);