public static void PerformClick(this CheckBox cb) { cb.RaiseEvent(new RoutedEventArgs(Primitives.ButtonBase.ClickEvent)); }