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

Gets or sets how the parts are positioned in the panel.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Layout")>
Public Property Stretch As StretchPolicy
C# 
[CategoryAttribute("Layout")]
public StretchPolicy Stretch {get; set;}

Property Value

The default value is StretchPolicy.Unstretched. Setting this value will also set the DiagramPanel.Stretch property on the Diagram.Panel.

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.