12 instantiations of ToolInfoWrapper
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (1)
12897=> new(this, flags, caption);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
3526ToolInfoWrapper<Control> wrapper = new(this, flags, isExternalTooltip ? null : caption);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
97=> new(c, TOOLTIP_FLAGS.TTF_TRANSPARENT | TOOLTIP_FLAGS.TTF_SUBCLASS, _toolTipText);
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2907ToolInfoWrapper<Control> wrapper = new(this, flags, isExternalTooltip ? null : caption);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (3)
56ToolInfoWrapper<ErrorWindow> toolInfo = new(this, item.Id, TOOLTIP_FLAGS.TTF_SUBCLASS, item.Error); 262ToolInfoWrapper<ErrorWindow> info = new(this, item.Id); 357ToolInfoWrapper<ErrorWindow> toolInfo = new(this, item.Id, flags, item.Error, iconBounds);
System\Windows\Forms\ToolTip\ToolTip.cs (5)
913new ToolInfoWrapper<Control>(control).SendMessage(this, PInvoke.TTM_DELTOOLW); 1002return new(Control.GetSafeHandle(window), flags); 1532ToolInfoWrapper<HandleRef<HWND>> info = new(Control.GetSafeHandle(ownerWindow)); 1737ToolInfoWrapper<HandleRef<HWND>> info = new(Control.GetSafeHandle(win)); 1795ToolInfoWrapper<Control> toolInfo = new(tool);
25 references to ToolInfoWrapper
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (1)
12896internal virtual ToolInfoWrapper<Control> GetToolInfoWrapper(TOOLTIP_FLAGS flags, string? caption, ToolTip tooltip)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
3519internal override unsafe ToolInfoWrapper<Control> GetToolInfoWrapper(TOOLTIP_FLAGS flags, string? caption, ToolTip tooltip) 3526ToolInfoWrapper<Control> wrapper = new(this, flags, isExternalTooltip ? null : caption);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (4)
63ToolInfoWrapper<Control> info = GetTOOLINFO(_controls[i]); 96private ToolInfoWrapper<Control> GetTOOLINFO(Control c) 131ToolInfoWrapper<Control> info = GetTOOLINFO(control); 157ToolInfoWrapper<Control> info = GetTOOLINFO(_controls[i]);
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2900internal override unsafe ToolInfoWrapper<Control> GetToolInfoWrapper(TOOLTIP_FLAGS flags, string? caption, ToolTip tooltip) 2907ToolInfoWrapper<Control> wrapper = new(this, flags, isExternalTooltip ? null : caption);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (3)
56ToolInfoWrapper<ErrorWindow> toolInfo = new(this, item.Id, TOOLTIP_FLAGS.TTF_SUBCLASS, item.Error); 262ToolInfoWrapper<ErrorWindow> info = new(this, item.Id); 357ToolInfoWrapper<ErrorWindow> toolInfo = new(this, item.Id, flags, item.Error, iconBounds);
System\Windows\Forms\ToolTip\ToolTip.cs (8)
972private unsafe ToolInfoWrapper<Control> GetTOOLINFO(Control control, string? caption) 987private ToolInfoWrapper<HandleRef<HWND>> GetWinTOOLINFO(IWin32Window window) 1247ToolInfoWrapper<Control> toolInfo = GetTOOLINFO(control, info!.Caption); 1532ToolInfoWrapper<HandleRef<HWND>> info = new(Control.GetSafeHandle(ownerWindow)); 1737ToolInfoWrapper<HandleRef<HWND>> info = new(Control.GetSafeHandle(win)); 1795ToolInfoWrapper<Control> toolInfo = new(tool); 1848var toolInfo = GetWinTOOLINFO(window); 1961ToolInfoWrapper<Control> toolInfo = default;
System.Windows.Forms.Tests (5)
System\Windows\Forms\ListViewTests.cs (2)
4841ToolInfoWrapper<Control> wrapper = listView.GetToolInfoWrapper(TOOLTIP_FLAGS.TTF_ABSOLUTE, "Test caption", toolTip); 4854ToolInfoWrapper<Control> wrapper = listView.GetToolInfoWrapper(TOOLTIP_FLAGS.TTF_ABSOLUTE, "Test caption", toolTip);
System\Windows\Forms\ToolTipTests.cs (1)
903int expected = (int)default(ToolInfoWrapper<Control>).TestAccessor().Dynamic.TTTOOLINFO_V2_Size;
System\Windows\Forms\TreeViewTests.cs (2)
6629ToolInfoWrapper<Control> wrapper = treeView.GetToolInfoWrapper(TOOLTIP_FLAGS.TTF_ABSOLUTE, "Test caption", toolTip); 6642ToolInfoWrapper<Control> wrapper = treeView.GetToolInfoWrapper(TOOLTIP_FLAGS.TTF_ABSOLUTE, "Test caption", toolTip);