Table of Contents

Interface IPlacementBehavior

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

Behavior interface implemented by container elements to support resizing child elements.

public interface IPlacementBehavior

Properties

SetSelectionOnPlacedItems

When implemented by a class, gets or sets a value indicating whether current selection should be replaced.

Methods

BeforeSetPosition(PlacementOperation)

Is called before SetPosition is called for the placed items. This may update the bounds on the placement operation (e.g. when snaplines are enabled).

BeginPlacement(PlacementOperation)

Starts placement mode for this container.

CanEnterContainer(PlacementOperation, bool)

Gets if entering this container is allowed for the specified operation.

CanLeaveContainer(PlacementOperation)

Gets if leaving this container is allowed for the specified operation.

CanPlace(IEnumerable<DesignItem>, PlacementType, PlacementAlignment)

Gets if the child element can be resized.

EndPlacement(PlacementOperation)

Ends placement mode for this container.

EnterContainer(PlacementOperation)

Let the placed children enter this container.

GetPosition(PlacementOperation, DesignItem)

Gets the original position of the child item.

LeaveContainer(PlacementOperation)

Remove the placed children from this container.

PlacePoint(Point)

Place Point.

SetPosition(PlacementInformation)

Updates the placement of the element specified in the placement operation.