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
- item
Type: Microsoft.Windows.Design.Model.ModelItem
The ModelItem to position.
- intent
Type: Microsoft.Windows.Design.Interaction.NudgeIntent
A NudgeIntent that specifies the intent of this placement call.
- placement
Type: Microsoft.Windows.Design.Interaction.RelativeValueCollection
A collection of placement positions to set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace