BehaviorService::PushCaptureBehavior Method (Behavior^)
.NET Framework (current version)
Pushes a Behavior onto the behavior stack and assigns mouse capture to the behavior.
Assembly: System.Design (in System.Design.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | behavior is null. |
Pushing a capture behavior is often done through a hit-tested Glyph. If a behavior calls the PushCaptureBehavior method and mouse capture is lost, the behavior's OnLoseCapture method is called.
.NET Framework
Available since 2.0
Available since 2.0
Show: