UtilFormsShakeControl Method
Shakes the window of a
Control during the specified amount of time.
Namespace: DevCase.Core.Application.FormsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
static member ShakeControl :
ctrl : Control *
amplitudeFactor : int *
timespan : TimeSpan -> unit
No code example is currently available or this language may not be supported.
Parameters
- ctrl Control
-
The Control to shake.
- amplitudeFactor Int32
-
When bigger the value, bigger the effect amplitude.
Recommended value: 15
- timespan TimeSpan
-
The amount of time the effect will last.
This is a code example.
No code example is currently available or this language may not be supported.
ShakeForm(My.Forms.Form1, 15, TimeSpan.FromMilliseconds(200))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.