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
Describe the bug
If you have a ResourceDictionary with a code-behind and you try to x:Bind one element to the property of another but are not inside a data template it will generate a bad g.cs file that does not compile. It seems to assume the ResourceDictionary is a FrameworkElement as it uses the Loading property.
Steps to reproduce the bug
Create a ResourceDictionary with a code-behind.
Then create two elements, one with an x:Name and the other binding to that x:Name.
Expected behavior
It successfully x:Binds.
Screenshots
Used xaml code.
Error inside generated .g.cs file
Version Info
MinSDK: 15063
TargetSDK: 18362
The text was updated successfully, but these errors were encountered:
Describe the bug
If you have a ResourceDictionary with a code-behind and you try to x:Bind one element to the property of another but are not inside a data template it will generate a bad g.cs file that does not compile. It seems to assume the ResourceDictionary is a FrameworkElement as it uses the Loading property.
Steps to reproduce the bug
Create a ResourceDictionary with a code-behind.
Then create two elements, one with an x:Name and the other binding to that x:Name.
Expected behavior
It successfully x:Binds.
Screenshots


Used xaml code.
Error inside generated .g.cs file
Version Info
MinSDK: 15063
TargetSDK: 18362
The text was updated successfully, but these errors were encountered: