Table of Contents

Class CanvasPlacementSupport

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

Provides IPlacementBehavior behavior for Canvas.

[ExtensionFor(typeof(Canvas), OverrideExtension = typeof(DefaultPlacementBehavior))]
public class CanvasPlacementSupport : SnaplinePlacementBehavior, IPlacementBehavior
Inheritance
CanvasPlacementSupport
Implements

Methods

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.

OnInitialized()

Is called after the ExtendedItem was set. Override this method to register your behavior with the item.

SetPosition(PlacementInformation)

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