ConnectorHitTestInfo 類別

定義

警告

此 API 現已淘汰。

包含 StructuredCompositeActivityDesigner 中指定座標之接點的相關資訊與所有繼承它的類別。Contains information about a connector at a specified coordinate in StructuredCompositeActivityDesigner and all classes that inherit from it.

public ref class ConnectorHitTestInfo : System::Workflow::ComponentModel::Design::HitTestInfo
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ConnectorHitTestInfo : System.Workflow.ComponentModel.Design.HitTestInfo
type ConnectorHitTestInfo = class
    inherit HitTestInfo
Public Class ConnectorHitTestInfo
Inherits HitTestInfo
繼承
ConnectorHitTestInfo
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

建構函式

ConnectorHitTestInfo(CompositeActivityDesigner, HitTestLocations, Int32)

初始化 ConnectorHitTestInfo 類別的新執行個體。Initializes a new instance of the ConnectorHitTestInfo class.

屬性

AssociatedDesigner

取得與 ActivityDesigner 類別關聯的 HitTestInfoGets the ActivityDesigner associated with the HitTestInfo class.

(繼承來源 HitTestInfo)
Bounds

取得點選之接點的週框 (Bounding Rectangle)。Gets the bounding rectangle for the connector that was clicked.

HitLocation

包含點擊發生位置的相關資訊。Contains information about where the hit occurred.

(繼承來源 HitTestInfo)
SelectableObject

取得與點擊區域關聯的可選取物件。Gets a selectable object associated with the hit area.

UserData

取得與 HitTestInfo 關聯的使用者資料。Gets the user data associated with the HitTestInfo.

(繼承來源 HitTestInfo)

方法

Equals(Object)

判斷指定的 Object 是否等於目前的 ConnectorHitTestInfoDetermines whether the specified Object is equal to the current ConnectorHitTestInfo.

GetHashCode()

傳回目前 ConnectorHitTestInfo 的雜湊程式碼。Returns the hash code for the current ConnectorHitTestInfo.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MapToIndex()

傳回使用者點選之接點的索引。Returns the index of the connector that the user clicked.

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於