Share via


RootPlacementAdapter Class

Provides placement support for any element that does not have a parent.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Features.FeatureProvider
    Microsoft.Windows.Design.Interaction.Adapter
      Microsoft.Windows.Design.Interaction.PlacementAdapter
        Microsoft.Windows.Design.Interaction.RootPlacementAdapter

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustInherit Class RootPlacementAdapter _
    Inherits PlacementAdapter
public abstract class RootPlacementAdapter : PlacementAdapter
public ref class RootPlacementAdapter abstract : public PlacementAdapter
[<AbstractClass>]
type RootPlacementAdapter =  
    class
        inherit PlacementAdapter
    end
public abstract class RootPlacementAdapter extends PlacementAdapter

The RootPlacementAdapter type exposes the following members.

Constructors

  Name Description
Protected method RootPlacementAdapter Initializes a new instance of the RootPlacementAdapter class.

Top

Properties

  Name Description
Public property AdapterType Gets the adapter type. (Overrides PlacementAdapter.AdapterType.)

Top

Methods

  Name Description
Public method BeginPlacement Begins the placement operation. (Inherited from PlacementAdapter.)
Public method CanSetPosition Returns a value that indicates whether the specified coordinate can be set. (Inherited from PlacementAdapter.)
Public method EndPlacement Ends the placement operation. (Inherited from PlacementAdapter.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPlacement Returns a collection of positions that describe the placement of the specified item. (Inherited from PlacementAdapter.)
Public method GetPlacementBoundary(ModelItem) Gets the boundary of the specified item parent. (Inherited from PlacementAdapter.)
Public method GetPlacementBoundary(ModelItem, PlacementIntent, array<RelativeValue[]) Gets the boundary of the specified item's parent. (Inherited from PlacementAdapter.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetNudgePlacements(ModelItem, NudgeIntent, array<RelativeValue[]) Assigns the specified array of positions for moving controls during keyboard nudges. (Inherited from PlacementAdapter.)
Public method SetNudgePlacements(ModelItem, NudgeIntent, RelativeValueCollection) Assigns the specified collection of positions for moving controls during keyboard nudges. (Inherited from PlacementAdapter.)
Public method SetPlacements(ModelItem, PlacementIntent, array<RelativeValue[]) Assigns the specified array of positions to the specified model item. (Inherited from PlacementAdapter.)
Public method SetPlacements(ModelItem, PlacementIntent, RelativeValueCollection) Assigns the specified collection of positions to the specified model item. (Inherited from PlacementAdapter.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

An RootPlacementAdapter implementation typically enables the element to be sized, but not moved.

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

AdornerPlacementCollection

AdornerPanel

PlacementAdapter

Other Resources

Understanding WPF Designer Extensibility