แก้ไข

แชร์ผ่าน


HitTestInfo Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Contains information about a part of the ActivityDesigner at a specified coordinate.

public ref class HitTestInfo
public class HitTestInfo
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class HitTestInfo
type HitTestInfo = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type HitTestInfo = class
Public Class HitTestInfo
Inheritance
HitTestInfo
Derived
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

The HitTestInfo class, in conjunction with the HitTest method of the ActivityDesigner is used to determine which part of an ActivityDesigner the user has clicked. The HitTestInfo class contains the location and associated designer that was clicked.

Constructors

HitTestInfo(ActivityDesigner, HitTestLocations)

Initializes an instance of a HitTestInfo object.

Properties

AssociatedDesigner

Gets the ActivityDesigner associated with the HitTestInfo class.

Bounds

Returns the bounds of the area hit.

HitLocation

Contains information about where the hit occurred.

Nowhere

Gets an empty HitTestInfo.

SelectableObject

Gets a selectable object associated with the hit area.

UserData

Gets the user data associated with the HitTestInfo.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MapToIndex()

Returns the index of the hit designer.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to