Northwoods.GoSilverlight 1.2.2 Assembly
StretchPolicy Enumeration
See Also  Send Feedback
Northwoods.GoXam Namespace : StretchPolicy Enumeration

This lists the policies used to govern if and how the DiagramPanel's DiagramPanel.Scale is set automatically.

Syntax

Visual Basic (Declaration) 
Public Enum StretchPolicy 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
C# 
public enum StretchPolicy : System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
NoneThe default policy, where the DiagramPanel.HorizontalContentAlignment and DiagramPanel.VerticalContentAlignment control the effective positioning of the parts in the panel when the DiagramPanel.DiagramBounds fits within the panel's viewport. The DiagramPanel.Scale will not change.
UniformThe Northwoods.GoXam.DiagramPanel.Position and DiagramPanel.Scale are automatically adjusted so that the DiagramPanel.DiagramBounds is fully visible in the panel. The new DiagramPanel.Scale will not be greater than 1.
UniformToFillThe Northwoods.GoXam.DiagramPanel.Position and DiagramPanel.Scale are automatically adjusted so that one of the DiagramPanel.DiagramBounds's dimensions is fully visible in the panel. The new DiagramPanel.Scale will not be greater than 1.
UnstretchedThis is the same as None.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Northwoods.GoXam.StretchPolicy

Requirements

See Also

© 2010 All Rights Reserved.