Share via


PlacementAdapter.SetNudgePlacements Method (ModelItem, NudgeIntent, RelativeValueCollection)

Assigns the specified collection 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, _
    placement As RelativeValueCollection _
)
public virtual void SetNudgePlacements(
    ModelItem item,
    NudgeIntent intent,
    RelativeValueCollection placement
)
public:
virtual void SetNudgePlacements(
    ModelItem^ item, 
    NudgeIntent intent, 
    RelativeValueCollection^ placement
)
abstract SetNudgePlacements : 
        item:ModelItem * 
        intent:NudgeIntent * 
        placement:RelativeValueCollection -> unit 
override SetNudgePlacements : 
        item:ModelItem * 
        intent:NudgeIntent * 
        placement:RelativeValueCollection -> unit 
public function SetNudgePlacements(
    item : ModelItem, 
    intent : NudgeIntent, 
    placement : RelativeValueCollection
)

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