TrackValueFromDistance 方法 |
This function returns the delta in value that would be caused by moving the thumb the given pixel distances.
The returned delta value is not guaranteed to be inside the valid Value range.
命名空间:
CPF.Controls
程序集:
CPF (在 CPF.dll 中) 版本:0.8.8.5
语法public virtual float ValueFromDistance(
float horizontal,
float vertical
)
参数
- horizontal
- 类型:SystemSingle
Total horizontal distance that the Thumb has moved. - vertical
- 类型:SystemSingle
Total vertical distance that the Thumb has moved.
返回值
类型:
Single[缺少 "M:CPF.Controls.Track.ValueFromDistance(System.Single,System.Single)" 的 <returns> 文档]
参见