Repository navigation
fix!: Move IsEnabled property from FrameworkElement to Control - #12153
Conversation
|
|
||
| IsEnabledChanged?.Invoke(this, args); | ||
|
|
||
| // TODO: move focus elsewhere if control.FocusState != FocusState.Unfocused |
There was a problem hiding this comment.
Is there a related task somewhere for this ToDo ? (if so precise the related link)
There was a problem hiding this comment.
@agneszitte This is an existing code. @MartinZikmund would probably be best to answer this.
There was a problem hiding this comment.
@dr1rrb I see that UpdateHitTest has moved from FrameworkElement to Control. Would it impact anything pointer related?
There was a problem hiding this comment.
The UpdateHitTest only requests an update of the coerced "HitTest" property which ends by validating the IsEnable property using the IsEnabledOverride(). So as long as this method override has not been removed it should not cause any issue.
BREAKING CHANGE: `IsEnabled` property is moved from `FrameworkElement` to `Control`
Co-authored-by: Agnès ZITTE <[email protected]>
|
@jeromelaban I pushed few commits since you last reviewed. Could you take another look? |
BREAKING CHANGE:
IsEnabledproperty is moved fromFrameworkElementtoControlGitHub Issue (If applicable): closes #9621, Part of #8339
PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):