I bind a object which has a struct(System.Windows.Size) property to the propertygrid. and i have set the [ExpandableObject] attribute to the property, so that i can expand the nested properties of the Size property.
However, when i changed the width property of the Size property in the expaned grid, the value can not update to the SelectedObject.
I searched the old posts, and learned it is because the Size property is a struct, it's passed by value. and I also got a solution from the old post, but it's not a perfect one.
could you guys fixed this bug?
thanks,
Andy.
However, when i changed the width property of the Size property in the expaned grid, the value can not update to the SelectedObject.
I searched the old posts, and learned it is because the Size property is a struct, it's passed by value. and I also got a solution from the old post, but it's not a perfect one.
could you guys fixed this bug?
thanks,
Andy.