BarBase.Contains Method

Tells if a point in viewport coordinates is over one of the buttons.
Public Overridable Function Contains( _ 
ByVal mousePos As Point
) As Boolean
This language is not supported or no code example is available.
public virtual bool Contains( 
Point mousePos 
)
This language is not supported or no code example is available.

Parameters

mousePos
Point

Mouse cursor position (zero on top) in screen coordinates

Return Value

bool

True if the point is over the button

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition