diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/Custom')
5 files changed, 18 insertions, 18 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusableBooleanButton.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusableBooleanButton.cs index 01ad5e0..0f30939 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusableBooleanButton.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusableBooleanButton.cs @@ -5,17 +5,17 @@ namespace Xamarin.PropertyEditing.Mac { internal class ProxyResponderButton : NSButton { - public ProxyRowResponder ResponderProxy { get; set; } + public RowProxyResponder ProxyResponder { get; set; } public override void KeyDown (NSEvent theEvent) { switch (theEvent.KeyCode) { case (int)NSKey.Tab: - if (ResponderProxy != null) { + if (ProxyResponder != null) { if (theEvent.ModifierFlags.HasFlag(NSEventModifierMask.ShiftKeyMask)) { - ResponderProxy.PreviousResponder (); + ProxyResponder.PreviousResponder (); } else { - ResponderProxy.NextResponder (); + ProxyResponder.NextResponder (); } } return; diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusableComboBox.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusableComboBox.cs index d75dde2..a9994c7 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusableComboBox.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusableComboBox.cs @@ -5,17 +5,17 @@ namespace Xamarin.PropertyEditing.Mac { internal class FocusableComboBox : NSComboBox { - public ProxyRowResponder ResponderProxy { get; set; } + public RowProxyResponder ProxyResponder { get; set; } public override void KeyDown (NSEvent theEvent) { switch (theEvent.KeyCode) { case (int)NSKey.Tab: - if (ResponderProxy != null) { + if (ProxyResponder != null) { if (theEvent.ModifierFlags.HasFlag(NSEventModifierMask.ShiftKeyMask)) { - ResponderProxy.PreviousResponder (); + ProxyResponder.PreviousResponder (); } else { - ResponderProxy.NextResponder (); + ProxyResponder.NextResponder (); } } return; diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusablePopupButton.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusablePopupButton.cs index 7cdfcfc..fa00bcf 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusablePopupButton.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/FocusablePopupButton.cs @@ -8,7 +8,7 @@ namespace Xamarin.PropertyEditing.Mac { public override bool CanBecomeKeyView { get { return Enabled; } } - public ProxyRowResponder ResponderProxy { get; set; } + public RowProxyResponder ProxyResponder { get; set; } public FocusablePopUpButton () { @@ -19,11 +19,11 @@ namespace Xamarin.PropertyEditing.Mac { switch (theEvent.KeyCode) { case (int)NSKey.Tab: - if (ResponderProxy != null) { + if (ProxyResponder != null) { if (theEvent.ModifierFlags.HasFlag(NSEventModifierMask.ShiftKeyMask)) { - ResponderProxy.PreviousResponder (); + ProxyResponder.PreviousResponder (); } else { - ResponderProxy.NextResponder (); + ProxyResponder.NextResponder (); } } return; diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericSpinEditor.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericSpinEditor.cs index 0d44862..d7d5253 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericSpinEditor.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericSpinEditor.cs @@ -172,10 +172,10 @@ namespace Xamarin.PropertyEditing.Mac set { this.numericEditor.AccessibilityTitle = value; } } - public ProxyRowResponder ResponderProxy + public RowProxyResponder ProxyResponder { - get => this.numericEditor.ResponderProxy; - set => this.numericEditor.ResponderProxy = value; + get => this.numericEditor.ProxyResponder; + set => this.numericEditor.ProxyResponder = value; } public virtual void Reset () diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericTextField.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericTextField.cs index 7f324cf..e5293d7 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericTextField.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericTextField.cs @@ -51,18 +51,18 @@ namespace Xamarin.PropertyEditing.Mac Delegate = keyUpDownDelegate; } - public ProxyRowResponder ResponderProxy + public RowProxyResponder ProxyResponder { get { if (Delegate is KeyUpDownDelegate keydown) { - return keydown.ResponderProxy; + return keydown.ProxyResponder; } return null; } set { if (Delegate is KeyUpDownDelegate keydown) { - keydown.ResponderProxy = value; + keydown.ProxyResponder = value; } } } |