/// <summary> /// take the opportunity to read draw this band, so that these selected and enabled items are up to date. /// </summary> public void OnIdle() { OutlookBarBand band = this.m_bar.Bands[this.m_bar.GetCurrentBand()]; if (band == null) { return; } ChoiceGroup group = (ChoiceGroup)band.Tag; CreateUIForChoiceGroup(group); m_bar.Refresh(); }