private void AutoUpdateOthers()
{
// Only uncheck others if we are checked and in auto check
if (AutoCheck && Checked)
{
// If we are inside a ribbon container and a ribbon group
if ((RibbonContainer != null) && (RibbonContainer.RibbonGroup != null))
{
// Process each container inside the group
foreach (IRibbonGroupContainer container in RibbonContainer.RibbonGroup.Items)
AutoUpdateContainer(container);
}
}
}