when we bind to a heterogeneous set of objects, not all objects have the same set of properties. in the output window we get a message like:
System.Windows.Data error: 39: BindingExpression path error: The property "RoundingFactor" could not be found 'object' '' MultiLineTextMarkingScheme '(HashCode = 7262386). BindingExpression: Path = RoundingFactor; ..........
This does not seem like an exception, but we are concerned that it affects performance.
Should we be interested and create a view model that has all the properties that we want to bind (and have properties that do not exist in the base element, returns null) or can we just leave it.
This situation is often encountered in a grid scenario where there may be a large number of these binding failures.
performance exception data-binding wpf
Aran mulholland
source share