Table of Contents

Method GetPositionRelativeToContainer

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

GetPositionRelativeToContainer(PlacementOperation, DesignItem)

Gets the position of the child item concerning the given container.

public Rect GetPositionRelativeToContainer(PlacementOperation operation, DesignItem item)

Parameters

operation PlacementOperation

The PlacementOperation is a holder of a container.

item DesignItem

DesignItem to check up.

Returns

Rect

The Rectangle determines the position of the item.