HitTestCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Inheritance
Fields
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. |
Remarks
The HitTestCode values represent the return values of the VisualStyleRenderer.HitTestBackground method.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈