4 instantiations of TipInfo
System.Windows.Forms (4)
System\Windows\Forms\ToolTip\ToolTip.cs (4)
1207TipInfo info = new(caption, TipInfo.Type.Auto); 1348tipInfo = new TipInfo(text, TipInfo.Type.SemiAbsolute); 1810tipInfo = new TipInfo(text, type); 1834tipInfo = new TipInfo(text, type);
35 references to TipInfo
System.Windows.Forms (35)
System\Windows\Forms\ToolTip\ToolTip.cs (35)
36private readonly Dictionary<Control, TipInfo> _tools = []; 151return _tools.TryGetValue(tool, out TipInfo? tipInfo) ? tipInfo.Caption : null; 312if (_tools.TryGetValue(control, out TipInfo? tt) && (tt.TipType & TipInfo.Type.SemiAbsolute) != 0) 1019return _tools.TryGetValue(control, out TipInfo? tipInfo) 1207TipInfo info = new(caption, TipInfo.Type.Auto); 1214private void SetToolTipInternal(Control control, TipInfo info) 1337SetTool(window, text, TipInfo.Type.SemiAbsolute, p); 1346if (!_tools.TryGetValue(associatedControl, out TipInfo? tipInfo)) 1348tipInfo = new TipInfo(text, TipInfo.Type.SemiAbsolute); 1352tipInfo.TipType |= TipInfo.Type.SemiAbsolute; 1414SetTool(window, text, TipInfo.Type.Absolute, new Point(pointX, pointY)); 1433SetTool(window, text, TipInfo.Type.Absolute, new Point(pointX, pointY)); 1451SetTool(window, text, TipInfo.Type.Absolute, new Point(pointX, pointY)); 1469SetTool(window, text, TipInfo.Type.Absolute, new Point(pointX, pointY)); 1490SetTool(ownerWindow, text, TipInfo.Type.Absolute, new Point(pointX, pointY)); 1502if ((tool is Control toolAsControl && _tools.TryGetValue(toolAsControl, out TipInfo? tipInfo)) || 1790private void SetTool(IWin32Window window, string? text, TipInfo.Type type, Point position) 1799if (type is TipInfo.Type.Absolute or TipInfo.Type.SemiAbsolute) 1808if (!_tools.TryGetValue(tool, out TipInfo? tipInfo)) 1832if (!_tools.TryGetValue(windowAsControl, out TipInfo? tipInfo)) 1851if (type is TipInfo.Type.Absolute or TipInfo.Type.SemiAbsolute) 1977if (window is not Control windowAsControl || !_tools.TryGetValue(windowAsControl, out TipInfo? tipInfo)) 2150TipInfo? tipInfo = null; 2169if ((tipInfo!.TipType & TipInfo.Type.Auto) != 0 && _window is not null) 2175if (((tipInfo.TipType & TipInfo.Type.SemiAbsolute) != 0) && tipInfo.Position == Point.Empty) 2197else if ((tipInfo.TipType & TipInfo.Type.SemiAbsolute) != 0 && tipInfo.Position != Point.Empty) 2226if (window is not Control control || !_tools.TryGetValue(control, out TipInfo? tipInfo)) 2232if ((tipInfo.TipType & TipInfo.Type.Auto) != 0 || (tipInfo.TipType & TipInfo.Type.SemiAbsolute) != 0) 2240if ((tipInfo.TipType & TipInfo.Type.Auto) == 0) 2258tipInfo.TipType = TipInfo.Type.Auto;