Dock.TryMoveToFreeSpace(DockPosition) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.