Table of Contents

Interface IDesignPanel

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

Interface for the design panel. The design panel is the UIElement containing the designed elements and is responsible for handling mouse and keyboard events.

public interface IDesignPanel : IInputElement

Properties

Adorners

Gets the list of adorners displayed on the design panel.

Context

Gets the design context used by the DesignPanel.

CustomHitTestFilterBehavior

Set a custom filter callback so that any element can be filtered out

IsAdornerLayerHitTestVisible

Gets/Sets if the adorner layer is visible for hit-testing purposes.

IsContentHitTestVisible

Gets/Sets if the design content is visible for hit-testing purposes.

Methods

HitTest(Point, bool, bool, HitTestType)

Performs a hit test on the design surface.

HitTest(Point, bool, bool, Predicate<DesignPanelHitTestResult>, HitTestType)

Performs a hit test on the design surface, raising callback for each match. Hit testing continues while the callback returns true.

Events

DragEnter

Occurs when a drag operation enters the design panel.

DragLeave

Occurs when a drag operation leaves the design panel.

DragOver

Occurs when a drag operation is over the design panel.

Drop

Occurs when an element is dropped on the design panel.

MouseDown

Occurs when a mouse button is pressed.

MouseUp

Occurs when a mouse button is released.

QueryContinueDrag

Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.