Επεξεργασία

Κοινή χρήση μέσω


HitTestCode Enum

Definition

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
HitTestCode

Fields

Name Value Description
Nowhere 0

The hit test succeeded outside the control or on a transparent area.

Client 1

The hit test succeeded in the middle background segment.

Left 10

The hit test succeeded in the left border segment.

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.

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.

Remarks

The HitTestCode values represent the return values of the VisualStyleRenderer.HitTestBackground method.

Applies to