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

Gets or sets the Spot point in the panel where the point specified by InitialDiagramBoundsSpot should be positioned.

Syntax

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

Property Value

The default value is TopLeft. If the Spot is not a specific spot, this property and the InitialDiagramBoundsSpot property are ignored.

Remarks

This spot specifies the initial point in the Diagram.Panel at which the InitialDiagramBoundsSpot of the diagram's DiagramPanel.DiagramBounds should be located. The default values of this property and of InitialDiagramBoundsSpot cause the top-left corner of the diagram contents to be positioned at the top-left corner of the panel.

This property only has an effect on the initial diagram shown if the InitialStretch property has its default value of StretchPolicy.Unstretched and if the InitialPosition property has its default value of a Point whose X or Y values are Double.NaN, and if both spots are specific spots (i.e. Spot.IsSpot are true).

Requirements

See Also

© 2010 All Rights Reserved.