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
@Sade686 is it possible you provide either a repo, or a different, more to the point example?
With the code you provided above I have to change alot of things to even get it compiled, and I feel like it contains alot of other code which is not part of the problem you are trying to report.
This makes it hard to reproduce and thus pinpoint the issue.
Bug explanation
Lots of errors occurs when sliding the datagrid scrollbar.
*like:
14:45:19:102 System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.DataGridRow', AncestorLevel='1''. BindingExpression:Path=Foreground; DataItem=null; target element is 'DataGridCell' (Name=''); target property is 'Foreground' (type 'Brush')
14:45:19:102 System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.DataGrid', AncestorLevel='1''. BindingExpression:Path=HorizontalGridLinesBrush; DataItem=null; target element is 'DataGridRowHeader' (Name=''); target property is 'BorderBrush' (type 'Brush')
14:45:19:102 System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.DataGrid', AncestorLevel='1''. BindingExpression:Path=GridLinesVisibility; DataItem=null; target element is 'DataGridRowHeader' (Name=''); target property is 'BorderThickness' (type 'Thickness')
*follow is my xaml
<UserControl.Resources>
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledTheme
BaseTheme="Light"
PrimaryColor="DeepPurple"
SecondaryColor="Lime" />
</ResourceDictionary.MergedDictionaries>
</UserControl.Resources>
<Grid.RowDefinitions>
</Grid.RowDefinitions>
<!--
}
Version
5.1.1
The text was updated successfully, but these errors were encountered: