Editor vertical text alignment not working after toggling IsVisible #25973
Labels
area-controls-editor
Editor
p/2
Work that is important, but is currently not scheduled for release
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
After toggling IsVisible property of Editor control, the control's vertical text alignment is destroyed (goes to default setting Start). More importantly, I cannot set vertical text alignment in code behind. This appears to be a bug since horizontal text alignment is preserved as is the ability to programmatically change it.
Steps to Reproduce
Create a group of Editor controls in XAML and trigger the code behind to hide/show the control and set alignment is below. I expected the vertical alignment to be unaffected by visibility, like the horizontal alignment.
Link to public reproduction project repository
No response
Version with bug
9.0.10 SR1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Windows
Affected platform versions
All
Did you find any workaround?
It's not a work around, but one can just accept the default "Start" vertical alignment, which destroys the aesthetics of my app.
Relevant log output
The text was updated successfully, but these errors were encountered: