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
Are you waiting for the changes in this issue to be resolved?
Please check for existing PRs addressing this issue and test them if available.
Description
XSG fails to parse RelativeSource bindings when used with AncestorType but without an explicit Mode property. It parses the mode as '(none)' which is invalid.
Note
Are you waiting for the changes in this issue to be resolved?
Please check for existing PRs addressing this issue and test them if available.
Description
XSG fails to parse
RelativeSourcebindings when used withAncestorTypebut without an explicitModeproperty. It parses the mode as'(none)'which is invalid.Reproduction
Error:
Expected Behavior
When
Modeis not specified butAncestorTypeis, the mode should default toFindAncestor(as it does at runtime).Affected File
src/Controls/samples/Controls.Sample/Pages/Controls/SwipeViewGalleries/SwipeViewBindingContextGallery.xamlWorkaround
Use
Inflator="Runtime"for the affected XAML file, or explicitly specifyMode=FindAncestor.Context
Discovered while testing XSG fixes for #33524.