6 references to TryGetRole
System.Windows.Forms (6)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs (1)
100public override AccessibleRole Role => SystemIAccessible.TryGetRole(GetChildId());
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (1)
146=> _owningComboBox.ChildListAccessibleObject.SystemIAccessible.TryGetRole(GetChildId());
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
96public override AccessibleRole Role => _owningAccessibleObject.SystemIAccessible.TryGetRole(GetChildId());
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
57public override AccessibleRole Role => SystemIAccessibleInternal.TryGetRole(GetChildId());
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
43=> ParentInternal?.SystemIAccessible.TryGetRole(GetChildId()) ?? AccessibleRole.None;
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarChildAccessibleObject.cs (1)
54=> ParentInternal.SystemIAccessible.TryGetRole(GetChildId());