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) 2174if ((tipInfo!.TipType & TipInfo.Type.Auto) != 0 && _window is not null) 2180if (((tipInfo.TipType & TipInfo.Type.SemiAbsolute) != 0) && tipInfo.Position == Point.Empty) 2202else if ((tipInfo.TipType & TipInfo.Type.SemiAbsolute) != 0 && tipInfo.Position != Point.Empty) 2237if ((tipInfo.TipType & TipInfo.Type.Auto) != 0 || (tipInfo.TipType & TipInfo.Type.SemiAbsolute) != 0) 2245if ((tipInfo.TipType & TipInfo.Type.Auto) == 0) 2263tipInfo.TipType = TipInfo.Type.Auto;
System\Windows\Forms\ToolTip\ToolTip.TipInfo.cs (6)
13public TipInfo(string? caption, Type type) 17if (type == Type.Auto) 25get => ((TipType & (Type.Absolute | Type.SemiAbsolute)) != 0) ? _caption : _designerText; 31public Type TipType { get; set; } = Type.Auto;