Hi Nadya,
If you dont want to display the properties for the null objects in the diagram, then you can display the PropertyEditor with clear properties.
You can display the properties only when the DiagramControl contains any objects in it.
I have used the following code snippet to initially make the PropertyEditor to display the clear properties when the Diagram contains null objects.
[C#]
private void diagram1_DragDrop(object sender, DragEventArgs e)
{
if (this.diagram1.View.SelectionList.Count > 0)
{
this.PropertyEditor1.Diagram = this.diagram1;
this.PropertyEditor1.SetSelectedObjects(this.diagram1.View.SelectionList);
}
}
Sample referencePlease refer the sample and let me know if this helps.
http://websamples.syncfusion.com/samples/Diagram.Windows/F71807/main.htmRegards,
Jaya