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
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
Description
The following XAML causes an
InvalidCastException(unable to cast object of type Span to Label) on UWP:The issue is setting the
Styleon the secondSpan. After removing the style the code executes as expected.Note that there aren't any problems with this code on iOS/Android.
Steps to Reproduce
Expected Behavior
The "Label Demo - XAML" page displays.
Actual Behavior
An
InvalidCastExceptionis thrown (unable to cast object of type Span to Label).Basic Information
Reproduction Link
Text.zip