2 using System.Collections.Generic;
6 using System.Windows.Controls;
12 public static readonly RoutedEvent
OnExpandedEvent = EventManager.RegisterRoutedEvent(
"OnExpandedEvent", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(
BaseDashboardControl));
27 #region IsMuon Dependency Property
41 bool muon = (bool)e.NewValue;
45 temp.lblMonCounts.Text =
"Total MEv:";
46 temp.lblCurrTotal.Text =
"Count Rate:";
47 temp.lblShutter.Text =
"Kicker Status:";
51 temp.lblMonCounts.Text =
"Monitor Counts:";
52 temp.lblCurrTotal.Text =
"Current/Total µA:";
53 temp.lblShutter.Text =
"Shutter Status:";
59 #region IsBigFontsProperty Dependency Property
61 public static readonly DependencyProperty
IsBigFontsProperty = DependencyProperty.RegisterAttached(
"IsBigFonts", typeof(Boolean),
62 typeof(
BaseDashboardControl),
new FrameworkPropertyMetadata(
false, FrameworkPropertyMetadataOptions.Inherits));
RoutedEventHandler OnExpanded
RoutedEventHandler OnUnexpanded
static Boolean GetIsBigFonts(UIElement element)
static readonly DependencyProperty IsBigFontsProperty
static readonly DependencyProperty IsMuonProperty
static readonly RoutedEvent OnExpandedEvent
static void OnExperimentTypeChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
virtual void UpdateControl()
static void SetIsBigFonts(UIElement element, Boolean value)
virtual Boolean IsExpanded()
static readonly RoutedEvent OnUnexpandedEvent
Interaction logic for StandardDashboard.xaml