Share via


PlacementAdapter.SetNudgePlacements Method (ModelItem, NudgeIntent, array<RelativeValue )

Assigns the specified array of positions for moving controls during keyboard nudges.

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

Syntax

'Declaration
Public Overridable Sub SetNudgePlacements ( _
    item As ModelItem, _
    intent As NudgeIntent, _
    positions As RelativeValue() _
)
public virtual void SetNudgePlacements(
    ModelItem item,
    NudgeIntent intent,
    RelativeValue[] positions
)
public:
virtual void SetNudgePlacements(
    ModelItem^ item, 
    NudgeIntent intent, 
    array<RelativeValue>^ positions
)
abstract SetNudgePlacements : 
        item:ModelItem * 
        intent:NudgeIntent * 
        positions:RelativeValue[] -> unit 
override SetNudgePlacements : 
        item:ModelItem * 
        intent:NudgeIntent * 
        positions:RelativeValue[] -> unit 
public function SetNudgePlacements(
    item : ModelItem, 
    intent : NudgeIntent, 
    positions : RelativeValue[]
)

Parameters

.NET Framework Security

See Also

Reference

PlacementAdapter Class

SetNudgePlacements Overload

Microsoft.Windows.Design.Interaction Namespace

ModelItem

NudgeIntent

AdornerPlacementCollection

AdornerPanel

Other Resources

Walkthrough: Creating a Design-time Adorner

Adorner Architecture