-
-
Notifications
You must be signed in to change notification settings - Fork 915
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When horizontally scrolling the DataGrid, a binding error will occur, but it does not affect the normal operation of the program. Error message:
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property. Double:'-0.11364275667962564' BindingExpression:Path=CellsPanelHorizontalOffset; DataItem='DataGrid' (Name='xxxx'); target element is 'Button' (Name=''); target property is 'Width' (type 'Double')
To Reproduce
- Create a DataGrid.
- Define more columns than can be displayed on the screen.
- Display the horizontal scrollbar.
- Scroll back and forth, and error messages will be visible in the debug console.
Expected behavior
no error
Screenshots
No response
OS version
win 11
.NET version
.net 10
WPF-UI NuGet version
4.1.0
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working