HitTestCode 枚举
定义
描述由视觉样式指定的背景中某个点的位置。Describes the location of a point in the background specified by a visual style.
public enum class HitTestCode
public enum HitTestCode
type HitTestCode =
Public Enum HitTestCode
- 继承
字段
Bottom | 15 | 在下边框部分中成功进行了点击测试。The hit test succeeded in the bottom border segment. |
BottomLeft | 16 | 在下边框和左边框的交点成功进行了点击测试。The hit test succeeded in the bottom and left border intersection. |
BottomRight | 17 | 在下边框和右边框的交点成功进行了点击测试。The hit test succeeded in the bottom and right border intersection. |
Client | 1 | 在中间背景部分中成功进行了点击测试。The hit test succeeded in the middle background segment. |
Left | 10 | 在左边框部分中成功进行了点击测试。The hit test succeeded in the left border segment. |
Nowhere | 0 | 在控件之外或在透明区域上成功进行了点击测试。The hit test succeeded outside the control or on a transparent area. |
Right | 11 | 在右边框部分中成功进行了点击测试。The hit test succeeded in the right border segment. |
Top | 12 | 在上边框部分中成功进行了点击测试。The hit test succeeded in the top border segment. |
TopLeft | 13 | 在上边框和左边框的交点成功进行了点击测试。The hit test succeeded in the top and left border intersection. |
TopRight | 14 | 在上边框和右边框的交点成功进行了点击测试。The hit test succeeded in the top and right border intersection. |
注解
值表示VisualStyleRenderer.HitTestBackground方法的返回值。 HitTestCodeThe HitTestCode values represent the return values of the VisualStyleRenderer.HitTestBackground method.