WorkflowOutlineNode 类

定义

注意

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

表示工作流设计器中显示的工作流大纲文档中的节点。Represents a node in a workflow outline document displayed in the workflow designer.

public ref class WorkflowOutlineNode : System::Windows::Forms::TreeNode
public 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
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowOutlineNode = class
    inherit TreeNode
Public Class WorkflowOutlineNode
Inherits TreeNode
继承
WorkflowOutlineNode
属性

注解

备注

本材料讨论的类型和命名空间已废弃不用。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 类的新实例。Initializes a new instance of the WorkflowOutlineNode class by using an activity.

属性

Activity

获取与节点关联的活动。Gets the activity associated with the node.

BackColor

获取或设置树节点的背景色。Gets or sets the background color of the tree node.

(继承自 TreeNode)
Bounds

获取树节点的界限。Gets the bounds of the tree node.

(继承自 TreeNode)
Checked

获取或设置一个值,用以指示树节点是否处于选中状态。Gets or sets a value indicating whether the tree node is in a checked state.

(继承自 TreeNode)
ContextMenu

获取与此树节点关联的快捷菜单。Gets the shortcut menu that is associated with this tree node.

(继承自 TreeNode)
ContextMenuStrip

获取或设置与此树节点关联的快捷菜单。Gets or sets the shortcut menu associated with this tree node.

(继承自 TreeNode)
FirstNode

获取树节点集合中的第一个子树节点。Gets the first child tree node in the tree node collection.

(继承自 TreeNode)
ForeColor

获取或设置树节点的前景色。Gets or sets the foreground color of the tree node.

(继承自 TreeNode)
FullPath

设置从根树节点到当前树节点的路径。Gets the path from the root tree node to the current tree node.

(继承自 TreeNode)
Handle

获取树节点的句柄。Gets the handle of the tree node.

(继承自 TreeNode)
ImageIndex

获取或设置当树节点处于未选定状态时所显示图像的图像列表索引值。Gets or sets the image list index value of the image displayed when the tree node is in the unselected state.

(继承自 TreeNode)
ImageKey

获取或设置此树节点处于未选中状态时与其关联的图像的键。Gets or sets the key for the image associated with this tree node when the node is in an unselected state.

(继承自 TreeNode)
Index

获取树节点在树节点集合中的位置。Gets the position of the tree node in the tree node collection.

(继承自 TreeNode)
IsEditing

获取一个值,用以指示树节点是否处于可编辑状态。Gets a value indicating whether the tree node is in an editable state.

(继承自 TreeNode)
IsExpanded

获取一个值,用以指示树节点是否处于可展开状态。Gets a value indicating whether the tree node is in the expanded state.

(继承自 TreeNode)
IsSelected

获取一个值,用以指示树节点是否处于选定状态。Gets a value indicating whether the tree node is in the selected state.

(继承自 TreeNode)
IsVisible

获取一个值,用以指示树节点是否是完全可见或部分可见。Gets a value indicating whether the tree node is visible or partially visible.

(继承自 TreeNode)
LastNode

获取最后一个子树节点。Gets the last child tree node.

(继承自 TreeNode)
Level

获取 TreeView 控件中的树视图的深度(从零开始)。Gets the zero-based depth of the tree node in the TreeView control.

(继承自 TreeNode)
Name

获取或设置树节点的名称。Gets or sets the name of the tree node.

(继承自 TreeNode)
NextNode

获取下一个同级树节点。Gets the next sibling tree node.

(继承自 TreeNode)
NextVisibleNode

获取下一个可见树节点。Gets the next visible tree node.

(继承自 TreeNode)
NodeFont

获取或设置用于显示树节点标签文本的字体。Gets or sets the font that is used to display the text on the tree node label.

(继承自 TreeNode)
Nodes

获取分配给当前树节点的 TreeNode 对象的集合。Gets the collection of TreeNode objects assigned to the current tree node.

(继承自 TreeNode)
Parent

获取当前树节点的父树节点。Gets the parent tree node of the current tree node.

(继承自 TreeNode)
PrevNode

获取上一个同级树节点。Gets the previous sibling tree node.

(继承自 TreeNode)
PrevVisibleNode

获取上一个可见树节点。Gets the previous visible tree node.

(继承自 TreeNode)
SelectedImageIndex

获取或设置当树节点处于选定状态时所显示的图像的图像列表索引值。Gets or sets the image list index value of the image that is displayed when the tree node is in the selected state.

(继承自 TreeNode)
SelectedImageKey

获取或设置当树节点处于选中状态时显示在该节点中的图像的键。Gets or sets the key of the image displayed in the tree node when it is in a selected state.

(继承自 TreeNode)
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.

(继承自 TreeNode)
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.

(继承自 TreeNode)
Tag

获取或设置包含树节点有关数据的对象。Gets or sets the object that contains data about the tree node.

(继承自 TreeNode)
Text

获取或设置在树节点标签中显示的文本。Gets or sets the text displayed in the label of the tree node.

(继承自 TreeNode)
ToolTipText

获取或设置当鼠标指针悬停于 TreeNode 之上时显示的文本。Gets or sets the text that appears when the mouse pointer hovers over a TreeNode.

(继承自 TreeNode)
TreeView

获取树节点分配到的父树视图。Gets the parent tree view that the tree node is assigned to.

(继承自 TreeNode)

方法

BeginEdit()

开始编辑树节点标签。Initiates the editing of the tree node label.

(继承自 TreeNode)
Clone()

复制树节点和以此树节点为根的整个子树。Copies the tree node and the entire subtree rooted at this tree node.

(继承自 TreeNode)
Collapse()

折叠树节点。Collapses the tree node.

(继承自 TreeNode)
Collapse(Boolean)

折叠 TreeNode,并可选择折叠其子节点。Collapses the TreeNode and optionally collapses its children.

(继承自 TreeNode)
CreateObjRef(Type)

创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(继承自 MarshalByRefObject)
Deserialize(SerializationInfo, StreamingContext)

从指定的 TreeNode 加载 SerializationInfo 的状态。Loads the state of the TreeNode from the specified SerializationInfo.

(继承自 TreeNode)
EndEdit(Boolean)

终止编辑树节点标签。Ends the editing of the tree node label.

(继承自 TreeNode)
EnsureVisible()

确保树节点可见,并在必要时展开树节点和滚动树视图控件。Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.

(继承自 TreeNode)
Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
Expand()

展开树节点。Expands the tree node.

(继承自 TreeNode)
ExpandAll()

展开所有子树节点。Expands all the child tree nodes.

(继承自 TreeNode)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetLifetimeService()
已过时。

检索控制此实例的生存期策略的当前生存期服务对象。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(继承自 MarshalByRefObject)
GetNodeCount(Boolean)

返回子树节点的数目。Returns the number of child tree nodes.

(继承自 TreeNode)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
InitializeLifetimeService()
已过时。

获取生存期服务对象来控制此实例的生存期策略。Obtains a lifetime service object to control the lifetime policy for this instance.

(继承自 MarshalByRefObject)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
MemberwiseClone(Boolean)

创建当前 MarshalByRefObject 对象的浅表副本。Creates a shallow copy of the current MarshalByRefObject object.

(继承自 MarshalByRefObject)
OnActivityRename(String)

将工作流大纲节点的标签中显示的文本更改为指定名称。Changes the text displayed in the label of the workflow outline node to the specified name.

RefreshNode()

更新 WorkflowOutlineNode 的属性设置。Updates property settings on the WorkflowOutlineNode.

Remove()

从树视图控件中移除当前树节点。Removes the current tree node from the tree view control.

(继承自 TreeNode)
Serialize(SerializationInfo, StreamingContext)

TreeNode 的状态保存到指定的 SerializationInfoSaves the state of the TreeNode to the specified SerializationInfo.

(继承自 TreeNode)
Toggle()

将树节点切换为展开或折叠状态。Toggles the tree node to either the expanded or collapsed state.

(继承自 TreeNode)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 TreeNode)

显式接口实现

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

使用序列化 TreeNode 时所需的数据填充序列化信息对象。Populates a serialization information object with the data needed to serialize the TreeNode.

(继承自 TreeNode)

适用于