private void OnMaxMedium(object sender, EventArgs e)
{
if ((_ribbonLines != null) &&
(_ribbonLines.Ribbon != null) &&
_ribbonLines.RibbonGroup.Items.Contains(_ribbonLines))
{
_changeService.OnComponentChanged(_ribbonLines, null, _ribbonLines.MaximumSize, GroupItemSize.Medium);
_ribbonLines.MaximumSize = GroupItemSize.Medium;
}
}