NodePanel
This panel is useful for having a background shape as the primary object and positioning one or more child elements within that shape.
Наследует: Panel
Свойства
Sizing : NodePanelSizing
Defines how this panel should behave when it is resized. Possible values are: Fixed (default) or Auto
Методы
ArrangeAuto(Size) : Size
Arranges the children according to the rules defined by NodePanelSizing.Auto. Resizes the first shape to fit around the other children and wraps text appropriately if requested.
- finalSize
ArrangeFixed(Size) : Size
Measures the children according to the rules defined by NodePanelSizing.Fixed.
- finalSize
ArrangeOverride(Size) : Size
Position all of the children after the first one to be within the rectangular area specified by DependencyObject) and DependencyObject) of the first child element.
- finalSize
GetFigure(DependencyObject) : NodeFigure
Gets the value of the FigureProperty attached dependency property.
- d
GetFigureParameter1(DependencyObject) : double
Gets the value of the FigureParameter1Property attached dependency property.
- d
GetFigureParameter2(DependencyObject) : double
Gets the value of the FigureParameter2Property attached dependency property.
- d
GetSpot1(DependencyObject) : Spot
Gets the value of the Spot1 attached property.
- d
- a UIElement
Возвращает: This defaults to TopLeft.
GetSpot2(DependencyObject) : Spot
Gets the value of the Spot2 attached property.
- d
- a UIElement
Возвращает: This defaults to BottomRight.
MeasureAuto(Size) : Size
Measures the children according to the rules defined by NodePanelSizing.Auto. Resizes to fit its children and wraps text appropriately if requested.
- availableSize
MeasureOverride(Size) : Size
Measure all of the children after the first one to fit within the rectangular area specified by DependencyObject) and DependencyObject) of the first child element.
- availableSize
SetFigure(DependencyObject, NodeFigure)
Sets the value of the FigureProperty attached dependency property.
- d
- v
SetFigureParameter1(DependencyObject, double)
Sets the value of the FigureParameter1Property attached dependency property.
- d
- v
SetFigureParameter2(DependencyObject, double)
Sets the value of the FigureParameter2Property attached dependency property.
- d
- v
Поля
FigureParameter1Property : DependencyProperty
Identifies the FigureParameter1 attached dependency property, for a NodeShape element inside a NodePanel.
FigureParameter2Property : DependencyProperty
Identifies the FigureParameter2 attached dependency property, for a NodeShape element inside a NodePanel.
FigureProperty : DependencyProperty
Identifies the Figure attached dependency property, for a NodeShape element inside a NodePanel.
SizingProperty : DependencyProperty
Defines how this panel should behave when it is resized.
Spot1Property : DependencyProperty
Identifies the Spot1 attached dependency property.
Spot2Property : DependencyProperty
Identifies the Spot2 attached dependency property.