3 writes to Top
aspire-tray (3)
TrayApplication.Panel.cs (3)
294return new() { Left = point.X, Top = point.Y, Right = point.X, Bottom = point.Y }; 686rect.Top = (int)Math.Round(text.Baseline * PanelScale) - metrics.Ascent; 829Top = (int)Math.Round(rect.Y * scale),
21 references to Top
aspire-tray (21)
TrayApplication.NativeSmoke.cs (4)
126PanelScale, _panelWindow, (rect.Left, rect.Top, rect.Right - rect.Left, rect.Bottom - rect.Top)); 128var height = rect.Bottom - rect.Top; 137NativeCallException.Require(NativeMethods.BitBlt(memory, 0, 0, width, height, screen, rect.Left, rect.Top, 0x00CC0020 | 0x40000000) != 0,
TrayApplication.Panel.cs (15)
112&& (point.X < icon.Left || point.X >= icon.Right || point.Y < icon.Top || point.Y >= icon.Bottom); 166var center = new NativeMethods.Point { X = (anchor.Left + anchor.Right) / 2, Y = (anchor.Top + anchor.Bottom) / 2 }; 183_panel!.MaxHeight = Math.Min(TrayPanel.DefaultMaxHeight, (work.Bottom - work.Top - 2 * margin) / scale); 189if (work.Top > info.Monitor.Top) 192y = work.Top + margin; 210y = Math.Clamp(y, work.Top + margin, Math.Max(work.Top + margin, work.Bottom - margin - height)); 315if (_panelPaletteDirty || Math.Abs(rect.Bottom - rect.Top - Math.Round(_panel!.Scene.Height * PanelScale)) > 0.5) 438var height = client.Bottom - client.Top; 504NativeMethods.DrawIconEx(gdi, rect.Left, rect.Top, icon, rect.Right - rect.Left, rect.Bottom - rect.Top, 0, 0, 3) != 0, 553NativeMethods.IntersectClipRect(dc, clip.Left, clip.Top, clip.Right, clip.Bottom); 687rect.Bottom = rect.Top + metrics.Height; 762NativeCallException.Require(NativeMethods.DrawIconEx(dc, rect.Left, rect.Top, _panelLogo, size, size, 0, 0, 3) != 0,
TrayApplication.PanelAutomation.cs (2)
175var y = (screenY - window.Top) / PanelScale; 194Top = window.Top + bounds.Y * scale,