Método AnchoringBehavior.CenterHorizontally (NodeShape, AnchoringBehavior.Edge, NodeShape, AnchoringBehavior.Edge, Double)
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Sintaxe
'Declaração
Public Sub CenterHorizontally ( _
leftSibling As NodeShape, _
leftSiblingSide As AnchoringBehavior.Edge, _
rightSibling As NodeShape, _
rightSiblingSide As AnchoringBehavior.Edge, _
percentage As Double _
)
public void CenterHorizontally(
NodeShape leftSibling,
AnchoringBehavior.Edge leftSiblingSide,
NodeShape rightSibling,
AnchoringBehavior.Edge rightSiblingSide,
double percentage
)
Parâmetros
- leftSibling
Tipo: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- leftSiblingSide
Tipo: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- rightSibling
Tipo: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- rightSiblingSide
Tipo: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- percentage
Tipo: System.Double
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.