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
Fix XAML source gen for source-generated bindable properties in Style Setters
When the XAML source generator encounters a Style Setter that references
a source-generated bindable property (e.g., from [BindableProperty] attribute),
the GetBindableProperty method returns null because the property metadata
isn't available in the same way as for manually-defined bindable properties.
This change adds a fallback mechanism in GetBindablePropertyNameAndType that:
1. Parses the property name from the Setter's Property attribute
2. Uses HasBindablePropertyHeuristic to detect if a bindable property exists
3. Constructs the fully-qualified property name directly
This fixes issue where using source-generated bindable properties in
ResourceDictionary styles would fail with 'MAUIG1001: The method or
operation is not implemented' error.
Fixes #xxxxx
0 commit comments