8 references to GetOleColorFromColor
System.Windows.Forms (8)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (2)
131get => GetOleColorFromColor(GetControl()?.BackColor ?? default); 155get => GetOleColorFromColor(GetControl()?.ForeColor ?? default);
System\Windows\Forms\ActiveX\AxHost.cs (6)
2106return GetOleColorFromColor(richParent.BackColor); 2113return GetOleColorFromColor(richParent.ForeColor); 3330qaContainer.colorFore = GetOleColorFromColor(parent.ForeColor); 3331qaContainer.colorBack = GetOleColorFromColor(parent.BackColor); 3335qaContainer.colorFore = GetOleColorFromColor(SystemColors.WindowText); 3336qaContainer.colorBack = GetOleColorFromColor(SystemColors.Window);