30 references to Bottom
aspire-tray (30)
src\Aspire.Tray\Common\TrayPanel.cs (13)
507var bottom = items.Max(target => target.Bounds.Bottom) + ActionListPadding; 509if (bottom > _viewport.Bottom) 511_scroll += Math.Min(bottom - _viewport.Bottom, Math.Max(0, top - _viewport.Y)); 546var bottom = buttons.Max(target => target.Bounds.Bottom) + 14; 548if (bottom > _viewport.Bottom) 550_scroll += bottom - _viewport.Bottom; 631else if (target.Bounds.Bottom > _viewport.Bottom) 633_scroll += target.Bounds.Bottom - _viewport.Bottom; 874var sink = top + item.Height <= _viewport.Y || top >= _viewport.Bottom ? hidden : commands; 989if (top + item.Height <= _viewport.Y || top >= _viewport.Bottom) 1382var controlsY = card.Bottom - 10 - ButtonSize;
src\Aspire.Tray\Common\TrayPanelGeometry.cs (13)
18public bool Contains(double x, double y) => x >= X && x < Right && y >= Y && y < Bottom; 20public bool Contains(PanelRect other) => other.X >= X && other.Y >= Y && other.Right <= Right && other.Bottom <= Bottom; 22public bool IntersectsWith(PanelRect other) => other.X < Right && X < other.Right && other.Y < Bottom && Y < other.Bottom; 33var bottom = Math.Min(Bottom, other.Bottom); 134=> new PanelPath().MoveTo(rect.X, rect.Y).LineTo(rect.Right, rect.Y).LineTo(rect.Right, rect.Bottom) 135.LineTo(rect.X, rect.Bottom).Close(); 153path.LineTo(rect.Right, rect.Bottom - bottomRight); 156path.Arc(rect.Right - bottomRight, rect.Bottom - bottomRight, bottomRight, 0, 90, connect: true); 158path.LineTo(rect.X + bottomLeft, rect.Bottom); 161path.Arc(rect.X + bottomLeft, rect.Bottom - bottomLeft, bottomLeft, 90, 90, connect: true);
TrayApplication.NativeSmoke.cs (3)
218ApplyPanelResponse(panel.Scroll(target.Bounds.Y < viewport.Y ? viewport.Y - target.Bounds.Y : viewport.Bottom - target.Bounds.Bottom)); 271var items = panel.Scene.Targets.Where(target => target.Key.Host == host && target.Bounds.Y > row.Bounds.Bottom).ToList();
TrayApplication.Panel.cs (1)
831Bottom = (int)Math.Round(rect.Bottom * scale)