public void BlurrinessOverlay(string feature, bool pressed) { UIThreadExecutor.Execute(() => { var control = new RibbonControl(feature + TextCollection.DynamicMenuCheckBoxId); control.Tag = "Blurriness"; Ribbon.OnCheckBoxAction(control, pressed); }); }