6 references to AutomationId
Microsoft.Maui.Controls (6)
Element\Element.cs (4)
53 /// <summary>Bindable property for <see cref="AutomationId"/>.</summary> 54 public static readonly BindableProperty AutomationIdProperty = BindableProperty.Create(nameof(AutomationId), typeof(string), typeof(Element), null); 87 if (AutomationId != null) 88 throw new InvalidOperationException($"{nameof(AutomationId)} may only be set one time.");
Shell\BaseShellItem.cs (1)
438 BindingBase automationIdBinding = Binding.Create(static (Element element) => element.AutomationId);
Shell\MenuShellItem.cs (1)
21 this.SetBinding(AutomationIdProperty, static (MenuItem item) => item.AutomationId, BindingMode.OneWay, source: menuItem);