Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Caution
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Describes the area of the designer that contains the point passed to a HitTest(Point) method.
This enumeration supports a bitwise combination of its member values.
public enum class HitTestLocations
[System.Flags]
public enum HitTestLocations
[System.Flags]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public enum HitTestLocations
[<System.Flags>]
type HitTestLocations =
[<System.Flags>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type HitTestLocations =
Public Enum HitTestLocations
Name | Value | Description |
---|---|---|
None | 0 | Indicates that no part of the designer was hit. |
Designer | 1 | Indicates that any part of the designer was hit. |
ActionArea | 2 | Indicates the area contained by the expand button was hit. |
Left | 4 | Indicates that the left part of the designer was hit. |
Top | 8 | Indicates the top of the designer was hit. |
Right | 16 | Indicates the right part of the designer was hit. |
Bottom | 32 | Indicates that the bottom of the designer was hit. |
Connector | 64 | Indicates that a connector on the designer was hit. |
Note
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
HitTestLocations is used by HitTest methods to describe the area of the designer hit by mouse clicks and drag and drop operations. Use the HitTestLocations to decide what kind of action to take in response to a successful hit test.
Product | Versions (Obsolete) |
---|---|
.NET Framework | 3.0, 3.5, 4.0 (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in