Visual Basic (Declaration) | |
---|---|
Public Property Stretch As StretchPolicy |
C# | |
---|---|
public StretchPolicy Stretch {get; set;} |
Property Value
The standardControlTemplate
for Diagram uses a TemplateBinding
to get this value from the Diagram.Set this property to StretchPolicy.Uniform to cause the whole diagram to appear in the panel, at a small enough scale that everything fits.