private void OnLayoutAction(object sender, EventArgs e)
{
// If not disposed then we still have a element reference
if (_ribbonCustomControl != null)
{
// Change in selected tab requires a retest of the control visibility/enabled
UpdateVisible(LastCustomControl);
UpdateEnabled(LastCustomControl);
}
}