GoXam for WPF v3
CenteredNodeData Property
Northwoods.GoXam Namespace > Diagram Class : CenteredNodeData Property
Gets or sets the data object for which the corresponding Node will be centered in the viewport.
Syntax
public object CenteredNodeData {get; set;}

Property Value

The default value is null.
Remarks
You can cause the currently selected node to be automatically centered by binding: <go:Diagram x:Name="myDiagram" Grid.Row="0" CenteredNodeData="{Binding ElementName=myDiagram, Path=SelectedNode.Data}" /> This calls DiagramPanel.CenterPart when the value of this property changes or when a layout completes in DiagramPanel.OnLayoutCompleted.

This property, if non-null, takes precedence over the InitialCenteredNodeData property.

See Also

Reference

Diagram Class
Diagram Members