28 references to Type
System.Windows.Forms (28)
System\Windows\Forms\ToolTip\ToolTip.cs (22)
312if (_tools.TryGetValue(control, out TipInfo? tt) && (tt.TipType & TipInfo.Type.SemiAbsolute) != 0) 1207TipInfo info = new(caption, TipInfo.Type.Auto); 1337SetTool(window, text, TipInfo.Type.SemiAbsolute, p); 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)); 1790private void SetTool(IWin32Window window, string? text, TipInfo.Type type, Point position) 1799if (type is TipInfo.Type.Absolute or TipInfo.Type.SemiAbsolute) 1851if (type is TipInfo.Type.Absolute or TipInfo.Type.SemiAbsolute) 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) 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;
System\Windows\Forms\ToolTip\ToolTip.TipInfo.cs (6)
15public TipInfo(string? caption, Type type) 19if (type == Type.Auto) 27get => ((TipType & (Type.Absolute | Type.SemiAbsolute)) != 0) ? _caption : _designerText; 33public Type TipType { get; set; } = Type.Auto;