internal static void SetNewBandModeToTrays(NewBandMode mode)
 {
     foreach (RadToolBarTray tray in TrayToIndicatorBorderDict.Keys)
     {
         ToolBarTrayUtilities.SetNewBandMode(tray, mode);
     }
 }
Пример #2
0
        private void RadioButton_Click(object sender, RoutedEventArgs e)
        {
            var mode = ToolBarTrayUtilities.NewBandMode.None;

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

            ToolBarTrayUtilities.SetNewBandModeToTrays(mode);
        }