Modifier

Partager via


Dock.TryMoveToFreeSpace(DockPosition) Method

Definition

Moves elements near the desired position to make space for a new element, if possible.

public:
 bool TryMoveToFreeSpace(Microsoft::MixedReality::Toolkit::Experimental::UI::DockPosition ^ position);
public bool TryMoveToFreeSpace (Microsoft.MixedReality.Toolkit.Experimental.UI.DockPosition position);
member this.TryMoveToFreeSpace : Microsoft.MixedReality.Toolkit.Experimental.UI.DockPosition -> bool
Public Function TryMoveToFreeSpace (position As DockPosition) As Boolean

Parameters

position
DockPosition

The desired position where an object wants to be docked.

Returns

Returns true if the desired position is now available, false otherwise.

Applies to