This project is read-only.
1
Vote

Binding error when using TextBox in Light or Dark Theme

description

I use a TextBox in a Light or Dark Theme. For unknown reasons, I got this error:

System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ContextMenu', AncestorLevel='1''. BindingExpression:Path=(0).(1); DataItem=null; target element is 'DropShadowEffect' (HashCode=40357649); target property is 'Color' (type 'Color')

I figured this Binding error comes from the styles in the Light Theme. How can I access the Light Theme styles so I can fix it myself?

Thanks,
Noli

comments