Esempio n. 1
0
 partial void OnIsEnabledChangedPartial(IsEnabledChangedEventArgs e)
 {
     if (_textBoxView != null)
     {
         _textBoxView.Enabled = e.NewValue;
     }
 }
Esempio n. 2
0
 private protected override void OnIsEnabledChanged(IsEnabledChangedEventArgs e)
 {
     if (_textBoxView != null)
     {
         _textBoxView.Enabled = e.NewValue;
     }
 }
Esempio n. 3
0
        private protected override void OnIsEnabledChanged(IsEnabledChangedEventArgs e)
        {
            var disabledStates = e.NewValue ? DisabledStates.Enabled : DisabledStates.Disabled;

            VisualStateManager.GoToState(this, disabledStates, true);

            base.OnIsEnabledChanged(e);
        }
Esempio n. 4
0
        private protected override void OnIsEnabledChanged(IsEnabledChangedEventArgs e)
        {
            base.OnIsEnabledChanged(e);

            _keyboardCausingRepeat = false;
            _pointerCausingRepeat  = false;

            UpdateRepeatState();
        }
Esempio n. 5
0
        private protected override void OnIsEnabledChanged(IsEnabledChangedEventArgs e)
        {
            base.OnIsEnabledChanged(e);

            var isEnabled = IsEnabled;

            if (!isEnabled)
            {
                _isDragging    = false;
                _isPointerOver = false;
            }
            UpdateVisualState();
        }
Esempio n. 6
0
        private protected override void OnIsEnabledChanged(IsEnabledChangedEventArgs e)
        {
            base.OnIsEnabledChanged(e);

            if (!IsEnabled)
            {
                ClearStateFlags();
            }

            UpdateVisualState();

            // Uno specific
            OnIsEnabledChangedPartial(e);
        }
Esempio n. 7
0
        private protected override void OnIsEnabledChanged(IsEnabledChangedEventArgs e)
        {
            base.OnIsEnabledChanged(e);

            UpdateCommonStates();
        }
Esempio n. 8
0
 partial void OnIsEnabledChangedPartial(IsEnabledChangedEventArgs e);
Esempio n. 9
0
 partial void OnIsEnabledChangedPartial(IsEnabledChangedEventArgs e)
 {
     Clickable = e.NewValue;
 }
Esempio n. 10
0
        private protected override void OnIsEnabledChanged(IsEnabledChangedEventArgs e)
        {
            base.OnIsEnabledChanged(e);

            ApplyEnabled(e.NewValue);
        }
Esempio n. 11
0
 private protected override void OnIsEnabledChanged(IsEnabledChangedEventArgs e)
 {
     Clickable = e.NewValue;
 }
Esempio n. 12
0
 private protected override void OnIsEnabledChanged(IsEnabledChangedEventArgs e)
 {
     base.OnIsEnabledChanged(e);
     OnIsFocusableChanged();
 }
Esempio n. 13
0
 partial void OnIsEnabledChangedPartial(IsEnabledChangedEventArgs e)
 {
     ApplyEnabled(e.NewValue);
 }