Northwoods.GoWPF 2.2.4 Assembly
InitialPanelSpot Property

Gets or sets the Spot point in the panel where the point specified by InitialDiagramBoundsSpot should be positioned.
Syntax
<CategoryAttribute("Layout")>
Public Property InitialPanelSpot As Spot
[CategoryAttribute("Layout")]
public Spot InitialPanelSpot {get; set;}

Property Value

The default value is Spot.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 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

Reference

Diagram Class
Diagram Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback