5 references to Switch
aspire-tray (5)
src\Aspire.Tray\Common\TrayPanel.cs (1)
1451
AddTarget(targets, key, row, title, enabled, null, PanelAccessibleRole.
Switch
, on, description);
TrayApplication.NativeSmoke.cs (1)
385
NativeSmokeHarness.Require(toggle.Role == PanelAccessibleRole.
Switch
&& toggle.Checked == on && toggle.Enabled == enabled
TrayApplication.PanelAutomation.cs (3)
111
if (previous?.Checked != element.Checked && element.Role == PanelAccessibleRole.
Switch
)
339
(NativeMethods.UiaTogglePatternId, PanelAccessibleRole.
Switch
) => (nint)ComInterfaceMarshaller<IToggleProvider>.ConvertToUnmanaged(this),
356
PanelAccessibleRole.
Switch
=> NativeMethods.UiaCheckBoxControlTypeId,