Visual Basic (Declaration) | |
---|---|
Public Enum NodePanelSizing Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
C# | |
---|---|
public enum NodePanelSizing : System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Auto | The NodePanel is automatically sized to fit all of its children. Basically, the first child (presumably a convex shape) will surround the second child, which in simple nodes is typically a TextBlock , but could be a more complicated element. If the child is a TextBlock with text wrapping set to true, it will be appropriately wrapped so that all of its text is visible. |
Fixed | The NodePanel takes the size of its first child. All other elements are placed within the bounds defined by the NodePanel.Spot1 and NodePanel.Spot2 properties of that first child. |
In each scenario, the first child is treated as a background object in the panel and all children are placed within the rectangular area defined by its
NodePanel.Spot1
and NodePanel.Spot2
properties. The NodePanel observes the HorizontalAlignment
and VerticalAlignment
properties on the other children.System.Object
System.ValueType
System.Enum
Northwoods.GoXam.NodePanelSizing