private void nodeGraphPanel_onSelectionChanged(object sender, NodeGraphPanelSelectionEventArgs args) { if (args.NewSelectionCount == 1) { this.propertyGrid1.SelectedObject = this.nodeGraphPanel.View.SelectedItems[0]; } }
private void nodeGraphPanel_onSelectionCleared(object sender, NodeGraphPanelSelectionEventArgs args) { this.propertyGrid1.SelectedObject = this.nodeGraphPanel; }