28 references to GetControl
System.Windows.Forms (28)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (28)
61IEnumUnknown.Interface enumUnknown = GetContainer() is { } container && GetControl() is { } control 81if (GetControl() is AxHost hostControl) 112DockStyle result = GetControl()?.Dock ?? DockStyle.None; 122if (GetControl() is { } control) 131get => GetOleColorFromColor(GetControl()?.BackColor ?? default); 134if (GetControl() is { } control) 143get => GetControl()?.Enabled ?? BOOL.FALSE; 146if (GetControl() is { } control) 155get => GetOleColorFromColor(GetControl()?.ForeColor ?? default); 158if (GetControl() is { } control) 167get => Pixel2Twip(GetControl()?.Height ?? 0, xDirection: false); 170if (GetControl() is { } control) 179get => Pixel2Twip(GetControl()?.Left ?? 0, xDirection: true); 182if (GetControl() is { } control) 203get => (short)(GetControl()?.TabIndex ?? 0); 206if (GetControl() is { } control) 215get => GetControl()?.TabStop ?? BOOL.FALSE; 218if (GetControl() is { } control) 227get => Pixel2Twip(GetControl()?.Top ?? 0, xDirection: false); 230if (GetControl() is { } control) 239get => GetControl()?.Visible ?? false; 242if (GetControl() is { } control) 251get => Pixel2Twip(GetControl()?.Width ?? 0, xDirection: true); 254if (GetControl() is { } control) 261public BSTR Name => new(GetControl() is { } control ? GetNameForControl(control) : string.Empty); 263public HWND Hwnd => GetControl()?.HWND ?? HWND.Null; 276get => GetControl()?.Text ?? string.Empty; 279if (GetControl() is { } control)