我怎样才能得到持续时间以毫秒为单位的有效期为DoubleClick的WPF中。同为在Windows窗体 SystemInformation.DoubleClickTime
-property了。
How I can get the duration in milliseconds that is valid for a DoubleClick in WPF. The same as in Windows Forms the SystemInformation.DoubleClickTime
-property was.
您可以使用的P / Invoke调用GetDoubleClickTime 直接:
[DllImport("user32.dll")]
static extern uint GetDoubleClickTime();
这将返回的毫秒数为双击。
This will return the number of milliseconds for a double click.