Visual Basic (Declaration) | |
---|---|
Public Property VerticalContentAlignment As VerticalAlignment |
C# | |
---|---|
public VerticalAlignment VerticalContentAlignment {get; set;} |
Property Value
A value ofVerticalAlignment.Stretch
will not automatically scroll the diagram contents to be at the top, at the bottom, or centered. The standard ControlTemplate
for Diagram uses a TemplateBinding
to get this value from the Diagram.This value also affects how the DiagramPanel.Position changes as the DiagramPanel.Scale changes.