Northwoods.GoSilverlight 1.2.2 Assembly
Stretch Property
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : Stretch Property

Gets or sets how the panel's DiagramPanel.Scale property is set, depending on the size of the DiagramPanel.DiagramBounds.

Syntax

Visual Basic (Declaration) 
Public Property Stretch As StretchPolicy
C# 
public StretchPolicy Stretch {get; set;}

Property Value

The standard ControlTemplate for Diagram uses a TemplateBinding to get this value from the Diagram.

Remarks

Set this property to StretchPolicy.Uniform to cause the whole diagram to appear in the panel, at a small enough scale that everything fits.

Requirements

See Also

© 2010 All Rights Reserved.