11 references to GetPropertyIfSet
Microsoft.Maui.Controls (11)
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (9)
324 var image = behavior.GetPropertyIfSet<ImageSource>(BackButtonBehavior.IconOverrideProperty, null); 325 var enabled = behavior.GetPropertyIfSet(BackButtonBehavior.IsEnabledProperty, true); 326 var text = behavior.GetPropertyIfSet<string>(BackButtonBehavior.TextOverrideProperty, null); 327 var command = behavior.GetPropertyIfSet<object>(BackButtonBehavior.CommandProperty, null); 328 var backButtonVisible = behavior.GetPropertyIfSet<bool>(BackButtonBehavior.IsVisibleProperty, true); 397 var text = behavior.GetPropertyIfSet<string>(BackButtonBehavior.TextOverrideProperty, null); 429 var command = behavior.GetPropertyIfSet<ICommand>(BackButtonBehavior.CommandProperty, null); 430 var commandParameter = behavior.GetPropertyIfSet<object>(BackButtonBehavior.CommandParameterProperty, null); 510 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);