the financial dashboard contained within the official samples (which was orginally published as an article here
) boasts quite a few custom shapes which host a datagrid, a pie chart, gauges and more. I'd think this sample should get you going.
Regarding the properties, you simply add standard or dependency properties as you wish. To add a custom shape you'd code something like;
var shape =
If you use a shape library and dragdrop from a toolbox onto the diagram surface you can check the ItemsChanged
event and then detect the type of the shape. If it's a custom shape (or even better, if you implemented an interface) you can then cast to the custom type and access all your (custom) properties.
Hope this helps, Fr.