I have a value type I want edited in the PropertyGrid, lets say, struct Point( float X, float Y, float Z ). The editable component of the entry should be 3 TextBox controls which bind to the X, Y and Z values of the property:
[ X ] [ Y ] [ Z ], not just [ X, Y, Z ]
If I setup each TextBox binding like so:
Text="{Binding Value.X, RelativeSource={RelativeSource AncestorType={x:Type Primitives:IPropertyDataAccessor}}, Mode=TwoWay}"
The initial values resolve ok, but I cannot change the value and have the actual property update.
Thoughts?
[ X ] [ Y ] [ Z ], not just [ X, Y, Z ]
If I setup each TextBox binding like so:
Text="{Binding Value.X, RelativeSource={RelativeSource AncestorType={x:Type Primitives:IPropertyDataAccessor}}, Mode=TwoWay}"
The initial values resolve ok, but I cannot change the value and have the actual property update.
Thoughts?