Visual Basic (Declaration) | |
---|---|
Public Property HorizontalContentAlignment As HorizontalAlignment |
C# | |
---|---|
public HorizontalAlignment HorizontalContentAlignment {get; set;} |
Property Value
A value ofHorizontalAlignment.Stretch
will not automatically scroll the diagram contents to be at the left, at the right, 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.