28 references to Type
System.Windows.Forms (28)
System\Windows\Forms\ToolTip\ToolTip.cs (22)
312
if (_tools.TryGetValue(control, out TipInfo? tt) && (tt.TipType & TipInfo.
Type
.SemiAbsolute) != 0)
1207
TipInfo info = new(caption, TipInfo.
Type
.Auto);
1337
SetTool(window, text, TipInfo.
Type
.SemiAbsolute, p);
1348
tipInfo = new TipInfo(text, TipInfo.
Type
.SemiAbsolute);
1352
tipInfo.TipType |= TipInfo.
Type
.SemiAbsolute;
1414
SetTool(window, text, TipInfo.
Type
.Absolute, new Point(pointX, pointY));
1433
SetTool(window, text, TipInfo.
Type
.Absolute, new Point(pointX, pointY));
1451
SetTool(window, text, TipInfo.
Type
.Absolute, new Point(pointX, pointY));
1469
SetTool(window, text, TipInfo.
Type
.Absolute, new Point(pointX, pointY));
1490
SetTool(ownerWindow, text, TipInfo.
Type
.Absolute, new Point(pointX, pointY));
1790
private void SetTool(IWin32Window window, string? text, TipInfo.
Type
type, Point position)
1799
if (type is TipInfo.
Type
.Absolute or TipInfo.
Type
.SemiAbsolute)
1851
if (type is TipInfo.
Type
.Absolute or TipInfo.
Type
.SemiAbsolute)
2174
if ((tipInfo!.TipType & TipInfo.
Type
.Auto) != 0 && _window is not null)
2180
if (((tipInfo.TipType & TipInfo.
Type
.SemiAbsolute) != 0) && tipInfo.Position == Point.Empty)
2202
else if ((tipInfo.TipType & TipInfo.
Type
.SemiAbsolute) != 0 && tipInfo.Position != Point.Empty)
2237
if ((tipInfo.TipType & TipInfo.
Type
.Auto) != 0 || (tipInfo.TipType & TipInfo.
Type
.SemiAbsolute) != 0)
2245
if ((tipInfo.TipType & TipInfo.
Type
.Auto) == 0)
2263
tipInfo.TipType = TipInfo.
Type
.Auto;
System\Windows\Forms\ToolTip\ToolTip.TipInfo.cs (6)
13
public TipInfo(string? caption,
Type
type)
17
if (type ==
Type
.Auto)
25
get => ((TipType & (
Type
.Absolute |
Type
.SemiAbsolute)) != 0) ? _caption : _designerText;
31
public
Type
TipType { get; set; } =
Type
.Auto;