ProgressBar.Contains Method
Tells if a point in viewport coordinates is over one of the buttons.
Public Overrides Function Contains( _
ByVal mousePos As Point _
) As Boolean
This language is not supported or no code example is available.
public override 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