internal static void SetNewBandModeToTrays(NewBandMode mode)
 {
     foreach (RadToolBarTray tray in TrayToIndicatorBorderDict.Keys)
     {
         ToolBarTrayUtilitiesSL.SetNewBandMode(tray, mode);
     }
 }
        private void RadioButton_Click(object sender, RoutedEventArgs e)
        {
            var mode = ToolBarTrayUtilitiesSL.NewBandMode.None;

            if (this.ButtonIndicator.IsChecked == true)
            {
                mode = ToolBarTrayUtilitiesSL.NewBandMode.Indicator;
            }
            else if (this.ButtonLive.IsChecked == true)
            {
                mode = ToolBarTrayUtilitiesSL.NewBandMode.Live;
            }

            ToolBarTrayUtilitiesSL.SetNewBandModeToTrays(mode);
        }