Share via


PlacementIntent Enumeration

An enumeration that indicates the method a PlacementAdapter uses to place controls.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Enumeration PlacementIntent
public enum PlacementIntent
public enum class PlacementIntent
type PlacementIntent
public enum PlacementIntent

Members

Member name Description
Move Indicates that the intent of the placement call is to move the control.
Size Indicates that the intent of the placement call is to size the control.

Remarks

Use PlacementIntent in calls to PlacementAdapter methods, such as SetPlacements.

PlacementIntent may be used to change values of related properties when placing a control. For example, if the placement intent is Move and the left side of a control is changed, the right side is also appropriately modified so that the control maintains the same size.

See Also

Reference

Microsoft.Windows.Design.Interaction Namespace

PlacementAdapter

AdornerPanel

Other Resources

Walkthrough: Creating a Design-time Adorner