Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用DataGrid时vs控制台报错 #82

Open
wanghaodong24 opened this issue Jan 12, 2024 · 0 comments
Open

使用DataGrid时vs控制台报错 #82

wanghaodong24 opened this issue Jan 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wanghaodong24
Copy link

System.Windows.Data Error: 1 : Cannot create default converter to perform 'one-way' conversions between types 'System.Windows.Media.Brush' and 'System.Windows.Media.Color'. Consider using Converter property of Binding. BindingExpression:Path=Background; DataItem='DataGridRow' (Name=''); target element is 'SolidColorBrush' (HashCode=5096933); target property is 'Color' (type 'Color')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='#FFFFFFFF' BindingExpression:Path=Background; DataItem='DataGridRow' (Name=''); target element is 'SolidColorBrush' (HashCode=5096933); target property is 'Color' (type 'Color')

yanjinhuagood added a commit that referenced this issue Jan 12, 2024
#82 Fix issue
@yanjinhuagood yanjinhuagood self-assigned this Jan 12, 2024
@yanjinhuagood yanjinhuagood added the bug Something isn't working label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants