コード例 #1
0
 private void ForwardChangedNotification(object sender, OperatorPart.ChangedEventArgs e)
 {
     NotifyPropertyChanged("Height");
     NotifyPropertyChanged("FontSize");
     NotifyPropertyChanged("Text");
     NotifyPropertyChanged("Color");
 }
コード例 #2
0
ファイル: TimeClipViewModel.cs プロジェクト: yarwelp/tooll
 private void ForwardChangedNotification(object sender, OperatorPart.ChangedEventArgs e)
 {
     NotifyPropertyChanged("StartTime");
     NotifyPropertyChanged("EndTime");
     NotifyPropertyChanged("SourceStartTime");
     NotifyPropertyChanged("SourceEndTime");
     NotifyPropertyChanged("Layer");
     NotifyPropertyChanged("Duration");
 }
コード例 #3
0
 private void ValueHolder_ChangedEvent(object sender, OperatorPart.ChangedEventArgs e)
 {
     if (_updateValueCommand == null)
     {
         // we're not editing, so update value visualization accordingly to change
         var textValue = (ValueHolder.Func as Utilities.ValueFunction).Value as Text;
         if (textValue != null)
         {
             XTextEdit.XButton.Content = textValue.Val;
         }
     }
 }
コード例 #4
0
        private void ValueHolder_ChangedEvent(object sender, OperatorPart.ChangedEventArgs e)
        {
            if (_updateValueCommand == null)
            {
                // We're not editing, so update value visualization accordingly to change

                string textString = "";
                if (IsConnected)
                {
                    textString = ValueHolder.Eval(new Core.OperatorPartContext()).Text;
                }
                else
                {
                    var textValue = (ValueHolder.Func as Utilities.ValueFunction).Value as Text;
                    if (textValue != null)
                    {
                        textString = textValue.Val;
                    }
                }
                XTextEdit.XButton.Content = textString;
                XTextEdit.XTextEdit.Text  = textString;
                UpdateGUI();
            }
        }
コード例 #5
0
 private void ForwardChangedNotification(object sender, OperatorPart.ChangedEventArgs e)
 {
     ForwardChangedNotification();
 }