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 18, 2025. It is now read-only.
Describe the bug
Visual Studio reports this binding failure in CharacterCreation.xaml:
Cannot find governing FrameworkElement or FrameworkContentElement for target element.
DataContext is null for ModifiedValue Visibility.
To Reproduce
Steps to reproduce the behavior:
Run from source.
See the error in XAML Binding Failures debug window.
Expected behavior
Visibility should be binding to HasRaceAttributeModifiers but this is a DataGridTextColumn within a DataGrid where ItemsSource is PlayerAttributes. HasRaceAttributeModifiers is on the view model itself.
Additional context
Functionally this is not an issue because the test game in the tutorial has races, so the Modified column will always display. If none of the races had any attribute modifiers, then the column was intended to not be displayed.