Skip to content

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

Closed
@wanghaodong24

Description

@wanghaodong24

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')

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions