WorkflowOutlineNode WorkflowOutlineNode WorkflowOutlineNode WorkflowOutlineNode Class

定義

警告

此 API 現已淘汰。

代表工作流程設計工具顯示之工作流程大綱文件中的節點。Represents a node in a workflow outline document displayed in the workflow designer.

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

備註

注意

此資料討論已被汰換的類型及命名空間。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.

WorkflowOutline 包含每個使用者新增到工作流程設計介面中之活動的一個 WorkflowOutlineNodeA WorkflowOutline contains one WorkflowOutlineNode for each activity a user adds to a workflow design surface.

建構函式

WorkflowOutlineNode(Activity) WorkflowOutlineNode(Activity) WorkflowOutlineNode(Activity) WorkflowOutlineNode(Activity)

使用活動來初始化 WorkflowOutlineNode 類別的新執行個體。Initializes a new instance of the WorkflowOutlineNode class by using an activity.

屬性

Activity Activity Activity Activity

取得與節點關聯的活動。Gets the activity associated with the node.

BackColor BackColor BackColor BackColor

取得或設定樹狀節點的背景色彩。Gets or sets the background color of the tree node.

(Inherited from TreeNode)
Bounds Bounds Bounds Bounds

取得樹狀節點的界限。Gets the bounds of the tree node.

(Inherited from TreeNode)
Checked Checked Checked Checked

取得或設定值,指出樹狀節點是否處於核取狀態。Gets or sets a value indicating whether the tree node is in a checked state.

(Inherited from TreeNode)
ContextMenu ContextMenu ContextMenu ContextMenu

取得與這個樹狀節點關聯的捷徑功能表。Gets the shortcut menu that is associated with this tree node.

(Inherited from TreeNode)
ContextMenuStrip ContextMenuStrip ContextMenuStrip ContextMenuStrip

取得或設定與這個樹狀節點關聯的捷徑功能表。Gets or sets the shortcut menu associated with this tree node.

(Inherited from TreeNode)
FirstNode FirstNode FirstNode FirstNode

取得樹狀節點集合的第一個子樹狀節點。Gets the first child tree node in the tree node collection.

(Inherited from TreeNode)
ForeColor ForeColor ForeColor ForeColor

取得或設定樹狀節點的前景色彩。Gets or sets the foreground color of the tree node.

(Inherited from TreeNode)
FullPath FullPath FullPath FullPath

取得從根樹狀節點通往目前樹狀節點的路徑。Gets the path from the root tree node to the current tree node.

(Inherited from TreeNode)
Handle Handle Handle Handle

取得樹狀節點的控制代碼。Gets the handle of the tree node.

(Inherited from TreeNode)
ImageIndex ImageIndex ImageIndex ImageIndex

取得或設定樹狀節點處於未選取狀態時,顯示影像的影像清單索引值。Gets or sets the image list index value of the image displayed when the tree node is in the unselected state.

(Inherited from TreeNode)
ImageKey ImageKey ImageKey ImageKey

取得或設定影像的索引鍵,這個影像會在節點處於未選取狀態時與這個樹狀節點關聯。Gets or sets the key for the image associated with this tree node when the node is in an unselected state.

(Inherited from TreeNode)
Index Index Index Index

取得樹狀節點集合中的樹狀節點位置。Gets the position of the tree node in the tree node collection.

(Inherited from TreeNode)
IsEditing IsEditing IsEditing IsEditing

取得值,指出樹狀節點是否處於可編輯的狀態。Gets a value indicating whether the tree node is in an editable state.

(Inherited from TreeNode)
IsExpanded IsExpanded IsExpanded IsExpanded

取得值,指出樹狀節點是否處於展開狀態。Gets a value indicating whether the tree node is in the expanded state.

(Inherited from TreeNode)
IsSelected IsSelected IsSelected IsSelected

取得值,指出樹狀節點是否處於選取狀態。Gets a value indicating whether the tree node is in the selected state.

(Inherited from TreeNode)
IsVisible IsVisible IsVisible IsVisible

取得值,指出是否可看見整個或部分樹狀節點。Gets a value indicating whether the tree node is visible or partially visible.

(Inherited from TreeNode)
LastNode LastNode LastNode LastNode

取得最後一個子樹狀節點。Gets the last child tree node.

(Inherited from TreeNode)
Level Level Level Level

取得樹狀節點在 TreeView 控制項中的深度,以零起始。Gets the zero-based depth of the tree node in the TreeView control.

(Inherited from TreeNode)
Name Name Name Name

取得或設定樹狀節點的名稱。Gets or sets the name of the tree node.

(Inherited from TreeNode)
NextNode NextNode NextNode NextNode

取得下一個同層級 (Sibling) 樹狀節點。Gets the next sibling tree node.

(Inherited from TreeNode)
NextVisibleNode NextVisibleNode NextVisibleNode NextVisibleNode

取得下一個可見的樹狀節點。Gets the next visible tree node.

(Inherited from TreeNode)
NodeFont NodeFont NodeFont NodeFont

取得或設定用來顯示樹狀節點標籤文字的字型。Gets or sets the font that is used to display the text on the tree node label.

(Inherited from TreeNode)
Nodes Nodes Nodes Nodes

取得指派給目前樹狀節點之 TreeNode 物件的集合。Gets the collection of TreeNode objects assigned to the current tree node.

(Inherited from TreeNode)
Parent Parent Parent Parent

取得目前樹狀節點的父樹狀節點。Gets the parent tree node of the current tree node.

(Inherited from TreeNode)
PrevNode PrevNode PrevNode PrevNode

取得上一個同層級樹狀節點。Gets the previous sibling tree node.

(Inherited from TreeNode)
PrevVisibleNode PrevVisibleNode PrevVisibleNode PrevVisibleNode

取得上一個可見樹狀節點。Gets the previous visible tree node.

(Inherited from TreeNode)
SelectedImageIndex SelectedImageIndex SelectedImageIndex SelectedImageIndex

取得或設定當樹狀節點處於選取狀態時,顯示影像的影像清單索引值。Gets or sets the image list index value of the image that is displayed when the tree node is in the selected state.

(Inherited from TreeNode)
SelectedImageKey SelectedImageKey SelectedImageKey SelectedImageKey

取得或設定影像的索引鍵,這個影像會在樹狀節點處於選取狀態時顯示在樹狀節點中。Gets or sets the key of the image displayed in the tree node when it is in a selected state.

(Inherited from TreeNode)
StateImageIndex StateImageIndex StateImageIndex StateImageIndex

取得或設定影像的索引,用於在父代 TreeNodeTreeView 屬性設為 false 時,指示 CheckBoxes 的狀態。Gets or sets the index of the image that is used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false.

(Inherited from TreeNode)
StateImageKey StateImageKey StateImageKey StateImageKey

取得或設定影像的索引鍵,用於在父代 TreeNodeTreeView 屬性設為 false 時,指示 CheckBoxes 的狀態。Gets or sets the key of the image that is used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false.

(Inherited from TreeNode)
Tag Tag Tag Tag

取得或設定包含有關樹狀節點資料的物件。Gets or sets the object that contains data about the tree node.

(Inherited from TreeNode)
Text Text Text Text

取得或設定樹狀節點標籤中顯示的文字。Gets or sets the text displayed in the label of the tree node.

(Inherited from TreeNode)
ToolTipText ToolTipText ToolTipText ToolTipText

取得或設定當滑鼠指標停留在 TreeNode 上時將出現的文字。Gets or sets the text that appears when the mouse pointer hovers over a TreeNode.

(Inherited from TreeNode)
TreeView TreeView TreeView TreeView

取得指派給樹狀節點的父樹狀檢視。Gets the parent tree view that the tree node is assigned to.

(Inherited from TreeNode)

方法

BeginEdit() BeginEdit() BeginEdit() BeginEdit()

啟始樹狀節點標籤的編輯。Initiates the editing of the tree node label.

(Inherited from TreeNode)
Clone() Clone() Clone() Clone()

複製樹狀節點和以這個樹狀節點為根部的整個樹狀子目錄。Copies the tree node and the entire subtree rooted at this tree node.

(Inherited from TreeNode)
Collapse() Collapse() Collapse() Collapse()

收合樹狀節點。Collapses the tree node.

(Inherited from TreeNode)
Collapse(Boolean) Collapse(Boolean) Collapse(Boolean) Collapse(Boolean)

摺疊 TreeNode 並選擇性地摺疊其子系。Collapses the TreeNode and optionally collapses its children.

(Inherited from TreeNode)
CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Deserialize(SerializationInfo, StreamingContext) Deserialize(SerializationInfo, StreamingContext) Deserialize(SerializationInfo, StreamingContext) Deserialize(SerializationInfo, StreamingContext)

從指定的 TreeNode 載入 SerializationInfo 的狀態。Loads the state of the TreeNode from the specified SerializationInfo.

(Inherited from TreeNode)
EndEdit(Boolean) EndEdit(Boolean) EndEdit(Boolean) EndEdit(Boolean)

結束樹狀節點標籤的編輯。Ends the editing of the tree node label.

(Inherited from TreeNode)
EnsureVisible() EnsureVisible() EnsureVisible() EnsureVisible()

請確保樹狀節點是可見的,如有必要請展開樹狀節點和捲動樹狀檢視控制項。Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.

(Inherited from TreeNode)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
Expand() Expand() Expand() Expand()

展開樹狀節點。Expands the tree node.

(Inherited from TreeNode)
ExpandAll() ExpandAll() ExpandAll() ExpandAll()

展開所有子樹狀節點。Expands all the child tree nodes.

(Inherited from TreeNode)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetNodeCount(Boolean) GetNodeCount(Boolean) GetNodeCount(Boolean) GetNodeCount(Boolean)

傳回子樹狀節點的數目。Returns the number of child tree nodes.

(Inherited from TreeNode)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

取得存留期服務物件,以控制這個執行個體的存留期原則。Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 物件的淺層複本。Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
OnActivityRename(String) OnActivityRename(String) OnActivityRename(String) OnActivityRename(String)

將顯示在工作流程大綱節點標籤上的文字變更為指定名稱。Changes the text displayed in the label of the workflow outline node to the specified name.

RefreshNode() RefreshNode() RefreshNode() RefreshNode()

更新 WorkflowOutlineNode 上的屬性設定。Updates property settings on the WorkflowOutlineNode.

Remove() Remove() Remove() Remove()

從樹狀檢視控制項移除目前的樹狀節點。Removes the current tree node from the tree view control.

(Inherited from TreeNode)
Serialize(SerializationInfo, StreamingContext) Serialize(SerializationInfo, StreamingContext) Serialize(SerializationInfo, StreamingContext) Serialize(SerializationInfo, StreamingContext)

TreeNode 的狀態儲存至指定的 SerializationInfoSaves the state of the TreeNode to the specified SerializationInfo.

(Inherited from TreeNode)
Toggle() Toggle() Toggle() Toggle()

切換樹狀節點為展開或收合的狀態。Toggles the tree node to either the expanded or collapsed state.

(Inherited from TreeNode)
ToString() ToString() ToString() ToString()

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

(Inherited from TreeNode)

明確介面實作

ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext)

以序列化 TreeNode 所需的資料,填入序列化資訊物件。Populates a serialization information object with the data needed to serialize the TreeNode.

(Inherited from TreeNode)

適用於