Completed
Last Updated: 15 Feb 2022 16:31 by ADMIN
Release R1 2022 SP1
Martin Ivanov
Created on: 04 Feb 2022 14:56
Category: PropertyGrid
Type: Bug Report
0
PropertyGrid: InvalidCastException thrown when PropertySetMode is Union or Intersection and changing property value
The following exception is thrown when changing the value of specific properties.
InvalidCastException: 'Object must implement IConvertible.'

This happens if the bound property is of a base type and the provided value is of a type that inherits the base type. For example, if you bind to a property of type Brush and you assign a value of type SolidColorBrush.
0 comments