My Output is filled with rows of errors/warning that from what I can tell from my research everyone just ignores. (Sample pasted bellow). I've done a little digging and I think the culprit is AutomationProperties. I've learned a lot for the next time I need to develop an accessible application but for this one I don't need LabeledBy,HelpText,...
Assuming I'm right with my analysis that AutomationProperties is causing these outputs. How do I go about silencing/muting/[Render unable to output to console].
I'm trying to clean up my output so that when my application writes to console I'm not required to dig through 95% of identical rows that will "always" be ignored.
As a general question - How do you silence things polluting the output (useful information not needed for current project).
System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=(0); DataItem=null; target element is 'TextBox' (Name='PART_EditableTextBox'); target property is 'Name' (type 'String')
System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=(0); DataItem=null; target element is 'TextBox' (Name='PART_EditableTextBox'); target property is 'LabeledBy' (type 'UIElement')
System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=(0); DataItem=null; target element is 'TextBox' (Name='PART_EditableTextBox'); target property is 'HelpText' (type 'String')
System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=IsEditable; DataItem=null; target element is 'ToggleButton' (Name='toggleButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=(0); DataItem=null; target element is 'TextBox' (Name='PART_EditableTextBox'); target property is 'Name' (type 'String')
System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=(0); DataItem=null; target element is 'TextBox' (Name='PART_EditableTextBox'); target property is 'LabeledBy' (type 'UIElement')
System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=(0); DataItem=null; target element is 'TextBox' (Name='PART_EditableTextBox'); target property is 'HelpText' (type 'String')
System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=IsEditable; DataItem=null; target element is 'ToggleButton' (Name='toggleButton'); target property is 'NoTarget' (type 'Object')