Ejemplo n.º 1
0
        private void CmbbxEnum_control_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            SetValue(VariableObjectProperty, (sender as ComboBox).SelectedValue);

            VariableUpdated?.Invoke(this, VariableObject);
        }
Ejemplo n.º 2
0
        private void keySequenceControlValueChanged(object sender, EventArgs e)
        {
            SetValue(VariableObjectProperty, ((Aurora.Controls.KeySequence)sender).Sequence);

            VariableUpdated?.Invoke(this, VariableObject);
        }
Ejemplo n.º 3
0
        private void Chkbx_control_VarChanged(object sender, RoutedEventArgs e)
        {
            SetValue(VariableObjectProperty, (sender as CheckBox).IsChecked.Value);

            VariableUpdated?.Invoke(this, VariableObject);
        }
Ejemplo n.º 4
0
        private void Txtbx_control_TextChanged(object sender, TextChangedEventArgs e)
        {
            SetValue(VariableObjectProperty, (sender as TextBox).Text);

            VariableUpdated?.Invoke(this, VariableObject);
        }
Ejemplo n.º 5
0
        private void IntUpDown_control_ValueChanged(object sender, RoutedPropertyChangedEventArgs <object> e)
        {
            SetValue(VariableObjectProperty, (sender as IntegerUpDown).Value);

            VariableUpdated?.Invoke(this, VariableObject);
        }
Ejemplo n.º 6
0
        private void ColorPickerDrawing_control_SelectedColorChanged(object sender, RoutedPropertyChangedEventArgs <Color?> e)
        {
            SetValue(VariableObjectProperty, Utils.ColorUtils.MediaColorToDrawingColor((sender as ColorPicker).SelectedColor.Value));

            VariableUpdated?.Invoke(this, VariableObject);
        }
Ejemplo n.º 7
0
        private void ColorPickerMedia_control_SelectedColorChanged(object sender, RoutedPropertyChangedEventArgs <Color?> e)
        {
            SetValue(VariableObjectProperty, (sender as ColorPicker).SelectedColor.Value);

            VariableUpdated?.Invoke(this, VariableObject);
        }