It looks like the Browsable attribute, which I use on a data model class property to hide it from the properties grid, also stops the property from being used by the Diagram control.
e.g. if my 'x co-ord' property is as below, then all my objects in the diagram have their X position at 0.
[Browsable(false)]
public int ScrnW
{
get { return _scrnW; }
set { _scrnW = value; OnPropertyChanged("ScrnW"); }
}
Is there a way I can either hide properties from the properties grid in another way, or make the Diagram able to use these properties regardless of being Browsable? I should think the latter, as I am explicitly telling the Diagram control to use specific properties, but that request is ignored.
Thanks