GroupPanel

StockSharp.Xaml.Diagram.GXDiagram

An auto-resizing SpotPanel that always surrounds its Group's MemberNodes plus some Padding.

継承元: SpotPanel

プロパティ

Padding : Thickness

Gets or sets the extra space inside the border but around the member nodes.

SurroundsMembersAfterDrop : bool

Gets or sets whether ComputeBorder should keep the same bounds during a DraggingTool move.

メソッド

ArrangeOverride(Size) : Size

Arrange any children according to their DependencyObject) and DependencyObject) values.

finalSize
ComputeBorder() : Rect

Normally this just returns the result of ComputeMemberBounds expanded by the Padding.

戻り値: However, if SurroundsMembersAfterDrop is true, and if the CurrentTool is the DraggingTool, and if this Group is not being dragged, this method returns the last value of ComputeBorder before dragging began.

ComputeMemberBounds() : Rect

Compute the union of the Bounds of this Group's MemberNodes.

戻り値: a Rect in model coordinates

MeasureOverride(Size) : Size

Measure any children.

availableSize

戻り値: This returns the size computed by ComputeBorder

フィールド

PaddingProperty : DependencyProperty

Identifies the Padding dependency property.

SurroundsMembersAfterDropProperty : DependencyProperty

Identifies the SurroundsMembersAfterDrop dependency property.