3 writes to _panelVisible
aspire-tray (3)
TrayApplication.Panel.cs (3)
79
_panelVisible
= true;
121
_panelVisible
= false;
972
_panelVisible
= false;
18 references to _panelVisible
aspire-tray (18)
TrayApplication.NativeSmoke.cs (8)
87
if (_previewStateAt == 0 || Environment.TickCount64 < _previewStateAt || !
_panelVisible
)
118
if (_previewExport is not { } export || _previewCaptureAt == 0 || Environment.TickCount64 < _previewCaptureAt || !
_panelVisible
)
194
if (!
_panelVisible
)
291
NativeSmokeHarness.Require(panel.ActionsRow is null &&
_panelVisible
&& panel.FocusedTarget?.Kind == PanelTargetKind.More,
329
NativeSmokeHarness.Require(
_panelVisible
&& (_panel!.FocusedTarget is not null) == keyboard,
333
NativeSmokeHarness.Require(
_panelVisible
, "A repeated activation closed the panel it had just opened.");
336
NativeSmokeHarness.Require(!
_panelVisible
, "Activating the icon again must close the panel.");
363
NativeSmokeHarness.Require(!_panel.IsSettingsOpen &&
_panelVisible
, "Escape must leave the Settings view and keep the panel open.");
TrayApplication.Panel.cs (6)
46
if (
_panelVisible
&& Environment.TickCount64 - _panelShownAt < 300)
52
if (
_panelVisible
|| Environment.TickCount64 - _panelHiddenAt < 300)
117
if (!
_panelVisible
)
300
if (!
_panelVisible
|| _panel is null || (ReferenceEquals(state, _panel.State) && !_panelPaletteDirty))
312
if (response.Redraw &&
_panelVisible
)
921
case NativeMethods.WmDpiChanged when
_panelVisible
:
TrayApplication.PanelAutomation.cs (4)
169
if (_panel is null || !
_panelVisible
)
202
if (_panel is not null &&
_panelVisible
&& _automationNodesById.TryGetValue(id, out var node) && node.Element.Target is { } target)
419
if (Element.Target is { Enabled: true } target && owner._panel is { } panel && owner.
_panelVisible
)
463
if (!owner.
_panelVisible
)