public DiagramLayerConsistencyState ConsistencyState {get;}
Public ReadOnly Property ConsistencyState As DiagramLayerConsistencyState
public DiagramLayerConsistencyState ConsistencyState {get;}
Public ReadOnly Property ConsistencyState As DiagramLayerConsistencyState
public void GetDiagram(DiagramLayer diagramLayer) { // note - methods need to run on MCT NetworkDiagram diagram = diagramLayer.GetNetworkDiagram(); // get the consistency state from the layer DiagramLayerConsistencyState dlState = diagramLayer.ConsistencyState; // or from the diagram NetworkDiagramConsistencyState ndState = diagram.GetConsistencyState(); }
Target Platforms: Windows 11, Windows 10