UserInterfaceBase.GetBounds Method

Gets the bounds rectangle in screen coordinates.
Public MustOverride Function GetBounds( _ 
ByVal viewport As Viewport
) As Rectangle Implements _ 
IUserInterfaceElement.GetBounds
This language is not supported or no code example is available.
public abstract Rectangle GetBounds( 
Viewport viewport 
)
This language is not supported or no code example is available.

Parameters

viewport
Viewport

The viewport

Return Value

Rectangle

The bounds rectangle in screen coordinates.

Implements

IUserInterfaceElement.GetBounds

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition