PlacementAdapter.BeginPlacement Method
Begins the placement operation.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Overridable Sub BeginPlacement ( _
item As ModelItem _
)
public virtual void BeginPlacement(
ModelItem item
)
public:
virtual void BeginPlacement(
ModelItem^ item
)
abstract BeginPlacement :
item:ModelItem -> unit
override BeginPlacement :
item:ModelItem -> unit
public function BeginPlacement(
item : ModelItem
)
Parameters
- item
Type: Microsoft.Windows.Design.Model.ModelItem
The ModelItem for which the placement operation is started.
Remarks
Override the BeginPlacement method to set up a placement operation. For moving or sizing operations, this usually involves caching the initial bounding Rect of the item or its parent.
The default implementation has no effect.
.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