private static void onTextContentPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { InterruptionCellControl thisControl = sender as InterruptionCellControl; if (e.NewValue != null && thisControl.m_EditText != null) { thisControl.m_EditText.Text = (string)e.NewValue; } thisControl.NotifyPropertyChanged("DisplayText"); }
private static void onVirtualTimeShownPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { InterruptionCellControl thisControl = sender as InterruptionCellControl; thisControl.NotifyPropertyChanged("DisplayText"); }