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)
2169
if ((tipInfo!.TipType & TipInfo.
Type
.Auto) != 0 && _window is not null)
2175
if (((tipInfo.TipType & TipInfo.
Type
.SemiAbsolute) != 0) && tipInfo.Position == Point.Empty)
2197
else if ((tipInfo.TipType & TipInfo.
Type
.SemiAbsolute) != 0 && tipInfo.Position != Point.Empty)
2232
if ((tipInfo.TipType & TipInfo.
Type
.Auto) != 0 || (tipInfo.TipType & TipInfo.
Type
.SemiAbsolute) != 0)
2240
if ((tipInfo.TipType & TipInfo.
Type
.Auto) == 0)
2258
tipInfo.TipType = TipInfo.
Type
.Auto;
System\Windows\Forms\ToolTip\ToolTip.TipInfo.cs (6)
15
public TipInfo(string? caption,
Type
type)
19
if (type ==
Type
.Auto)
27
get => ((TipType & (
Type
.Absolute |
Type
.SemiAbsolute)) != 0) ? _caption : _designerText;
33
public
Type
TipType { get; set; } =
Type
.Auto;