We are using the Network Node within a XamDockManager.
Is there a way to tell the Networknode to repaint the Nodes whenever the size of the control has been changed?
Because now the nodes are either much too small when you maximize the size or much too big when you bring it back to normal size...
In the XamNetworkNode control you can call the ScaleToFit() method for resizing.
Let me know if you have any questions with this matter. Thank you.
thanks for your reply. The ScaleToFit() method is what i thougt too. I attached a small sample to show what i mean. I call ScaleToFit on:
But i do not get the desired effect. To get the XamNetworknodes show up just select one cell in the Xamdatagrid.
Oh i forgot. After the Nodes loaded just play around with the contentpanes and splitpane. There is too a maximize button to collapse other contentpanes in that splitpane.
As far as resizing the XamNetworkNode using ScaleToFit() you can add the control within a grid container. For the grid's row you can set the RowDefinition's Height to asterisk.