PlacementAdapter Class
An adapter that is used to get and set positions of objects in parent coordinates.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public MustInherit Class PlacementAdapter _
Inherits Adapter
'Usage
Dim instance As PlacementAdapter
public abstract class PlacementAdapter : Adapter
public ref class PlacementAdapter abstract : public Adapter
public abstract class PlacementAdapter extends Adapter
Remarks
PlacementAdapter is used by grab handles to size and move controls. Placement adapters work by supporting reading and writing values as relative positions. To a PlacementAdapter everything is relative, so relative difference (deltas) are important. A PlacementAdapter takes a relative value and converts it into one or more property sets. To use a PlacementAdapter first query it to see whether it can set a position you are interested in setting. Then, use the results of this to get and set values through the GetPlacement and SetPlacements methods.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Features.FeatureProvider
Microsoft.Windows.Design.Interaction.Adapter
Microsoft.Windows.Design.Interaction.PlacementAdapter
Microsoft.Windows.Design.Interaction.RootPlacementAdapter
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace