
Hello
I am using the WPF PrpertyGrid control and I am unable to make enum properties to work as expected.
In my interface, once of those enum properties is defined as this:
[Browsable(true), ReadOnly(false)]
[Display(
Description = nameof(Resources.UnitOfMeasurement),
GroupName = nameof(Resources.Identification),
Name = nameof(Resources.Unit),
ResourceType = typeof(Resources))]
[NotifyParentProperty(true)]
ConceptUnits Unit { get; }
Although the property only has a getter in the interface, it is marked as ReadOnly(false) because of I am using dynamic properties in runtime and there is a wrapper object handling the properties of the selected object
That wrapper is in charge of calling the proper method to set a new value for the property as it cannot be done directly in the setter because several design patterns implemented in my solution
The problem I face is that ComboBoxes cannot be opened, so I cannot choose a different value. However, if I change the value through the keyboard, it works fine (property is updated and the appropiate method is called to set the new value for the property)
What can be causing the ComboBox not to open on user click?