private static void OnControlSizeDefinitionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RibbonContentPresenter rcp = (RibbonContentPresenter)d; rcp.TransferPseudoInheritedProperties(); }