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