Sdílet prostřednictvím


ISpaceReservationAgent.PositionAndDisplay(Geometry) Method

Definition

Positions and displays the contents of the the ISpaceReservationAgent.

public:
 System::Windows::Media::Geometry ^ PositionAndDisplay(System::Windows::Media::Geometry ^ reservedSpace);
public System.Windows.Media.Geometry PositionAndDisplay (System.Windows.Media.Geometry reservedSpace);
abstract member PositionAndDisplay : System.Windows.Media.Geometry -> System.Windows.Media.Geometry
Public Function PositionAndDisplay (reservedSpace As Geometry) As Geometry

Parameters

reservedSpace
Geometry

Currently reserved space.

Returns

The space. If null is returned, the ISpaceReservationManager will remove the agent.

Remarks

If an agent does not want to be removed, but also does not wish to request any additional space, it can return a non-null but empty Geometry.

Applies to