Skip to content

[X] Allow using x:Type and type literals interchangeably in certain scenarios#20915

Merged
rmarinho merged 4 commits intodotnet:mainfrom
simonrozsival:use-type-literals-and-xtype-interchangeably
Mar 18, 2024
Merged

[X] Allow using x:Type and type literals interchangeably in certain scenarios#20915
rmarinho merged 4 commits intodotnet:mainfrom
simonrozsival:use-type-literals-and-xtype-interchangeably

Conversation

@simonrozsival
Copy link
Copy Markdown
Member

Fixes #20818

Instead of looking for both a string literal and an x:Type element in various places of the XAML parser, we can simplify the tree using a new visitor.
 
/cc @StephaneDelcroix

@simonrozsival simonrozsival added the area-xaml XAML, CSS, Triggers, Behaviors label Feb 29, 2024
@simonrozsival simonrozsival requested a review from a team as a code owner February 29, 2024 12:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

On Android, using the {x:Type ...} TypeExtension in Style.TargetType causes a compiler error for VisualState.Setters within the Style

4 participants