19 references to AutomationId
Microsoft.Maui.Controls (19)
Compatibility\Handlers\ListView\iOS\TextCellRenderer.cs (1)
81
tvc.AccessibilityIdentifier = cell.
AutomationId
;
Compatibility\Handlers\NavigationPage\iOS\NavigationRenderer.cs (2)
954
if (FlyoutPage != null && !string.IsNullOrEmpty(FlyoutPage.
AutomationId
))
955
SetAutomationId(containerController.NavigationItem.LeftBarButtonItem, $"btn_{FlyoutPage.
AutomationId
}");
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (2)
367
if (String.IsNullOrWhiteSpace(image?.
AutomationId
))
379
NavigationItem.LeftBarButtonItem.AccessibilityIdentifier = image.
AutomationId
;
Compatibility\Handlers\Shell\iOS\ShellSectionRenderer.cs (1)
504
TabBarItem.AccessibilityIdentifier = ShellSection.
AutomationId
?? ShellSection.Title;
Compatibility\Handlers\TabbedPage\iOS\TabbedRenderer.cs (1)
467
AccessibilityIdentifier = page.
AutomationId
Compatibility\Handlers\VisualElementRenderer.cs (1)
358
ver.SetAutomationId(view.
AutomationId
);
Compatibility\iOS\Extensions\AccessibilityExtensions.cs (1)
21
nativeViewElement.AccessibilityIdentifier = element?.
AutomationId
;
Compatibility\iOS\Extensions\ToolbarItemExtensions.cs (4)
47
if (item != null && !string.IsNullOrEmpty(item.
AutomationId
))
48
AccessibilityIdentifier = item.
AutomationId
;
149
if (item != null && !string.IsNullOrEmpty(item.
AutomationId
))
150
AccessibilityIdentifier = item.
AutomationId
;
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);