7 references to Checked
aspire-tray (7)
TrayApplication.NativeSmoke.cs (2)
385NativeSmokeHarness.Require(toggle.Role == PanelAccessibleRole.Switch && toggle.Checked == on && toggle.Enabled == enabled 387$"The Settings switch misrepresents startup state: checked={toggle.Checked}, enabled={toggle.Enabled}, description={toggle.Description}.");
TrayApplication.PanelAutomation.cs (5)
111if (previous?.Checked != element.Checked && element.Role == PanelAccessibleRole.Switch) 114ComVariant.Create((int)ToToggleState(previous?.Checked)), ComVariant.Create((int)ToToggleState(element.Checked))); 449return ToToggleState(Element.Checked);