I have a diagram designer program and I want to add texts to shapes (these are path objects) when user right clicks to a shape and writes shape name in the property window. I add a context menu property to shapes and when user clicks to "properties" in the context menu, a new window opens that has a textbox and a button. I can add a textblock to the shapes but I cannot bind the textbox in the property window to the textblock in the shape. What I want is when user enters a text into textbox in the property window and clicks OK button, the textblock on the shape changes to the text that user entered.
Thanks.