private void CmbbxEnum_control_SelectionChanged(object sender, SelectionChangedEventArgs e) { SetValue(VariableObjectProperty, (sender as ComboBox).SelectedValue); VariableUpdated?.Invoke(this, VariableObject); }
private void keySequenceControlValueChanged(object sender, EventArgs e) { SetValue(VariableObjectProperty, ((Aurora.Controls.KeySequence)sender).Sequence); VariableUpdated?.Invoke(this, VariableObject); }
private void Chkbx_control_VarChanged(object sender, RoutedEventArgs e) { SetValue(VariableObjectProperty, (sender as CheckBox).IsChecked.Value); VariableUpdated?.Invoke(this, VariableObject); }
private void Txtbx_control_TextChanged(object sender, TextChangedEventArgs e) { SetValue(VariableObjectProperty, (sender as TextBox).Text); VariableUpdated?.Invoke(this, VariableObject); }
private void IntUpDown_control_ValueChanged(object sender, RoutedPropertyChangedEventArgs <object> e) { SetValue(VariableObjectProperty, (sender as IntegerUpDown).Value); VariableUpdated?.Invoke(this, VariableObject); }
private void ColorPickerDrawing_control_SelectedColorChanged(object sender, RoutedPropertyChangedEventArgs <Color?> e) { SetValue(VariableObjectProperty, Utils.ColorUtils.MediaColorToDrawingColor((sender as ColorPicker).SelectedColor.Value)); VariableUpdated?.Invoke(this, VariableObject); }
private void ColorPickerMedia_control_SelectedColorChanged(object sender, RoutedPropertyChangedEventArgs <Color?> e) { SetValue(VariableObjectProperty, (sender as ColorPicker).SelectedColor.Value); VariableUpdated?.Invoke(this, VariableObject); }