public void AutoAnimate() { UIThreadExecutor.Execute(() => { Ribbon.AddAnimationButtonClick(new RibbonControl("AutoAnimate")); }); }