Experimental: this API is experimental and might be changed or removed in the future.

MouseCaptureEventBase<T0>.GetPooled

切换到手册
public static T GetPooled (Experimental.UIElements.IEventHandler target, Experimental.UIElements.IEventHandler relatedTarget);

参数

target处理程序,用于进行或释放鼠标捕获。
relatedTarget相关目标。

返回

T Returns an initialized event.

描述

Retrieves an event from the event pool. Use this method to retrieve a mouse event and initialize the event, instead of creating a new mouse event. Events obtained from this method should be released back to the pool using Dispose().