Class RootItemBehavior
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
Initializes different behaviors for the Root item.
public class RootItemBehavior : IRootPlacementBehavior, IPlacementBehavior
- Inheritance
-
RootItemBehavior
- Implements
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.