Captures mouse input to the specified control.
命名空间:
CPF.Input
程序集:
CPF (在 CPF.dll 中) 版本:0.8.8.5
语法 public virtual void Capture(
UIElement control
)
参数
- control
- 类型:CPFUIElement
The control.
备注
When an element captures the mouse, it recieves mouse input whether the cursor is
within the control's bounds or not. The current mouse capture control is exposed
by the
Captured property.
参见