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
- 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.
- positions
Type: array<Microsoft.Windows.Design.Interaction.RelativeValue[]
An array 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