You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
// Show/Hide column matrix B entries
for (int i = 1; i <= 6; i++)
{
string controlName = $"M1_B_{i}1";
if (FindByName(controlName) is View control) // Assuming the control is of type View or a derived type
{
control.IsVisible = (i <= order);
//M1_B_51.HorizontalTextAlignment = TextAlignment.Start;
//M1_B_51.VerticalTextAlignment = TextAlignment.End;
}
}
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:
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: