Class WorkflowElementIconAttribute
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
Specifies the icon that should represent the element this attribute is bound to when drawing the workflow.
[AttributeUsage(AttributeTargets.Class)]
public sealed class WorkflowElementIconAttribute : Attribute, _Attribute
- Inheritance
-
WorkflowElementIconAttribute
- Implements
- Inherited Members
Constructors
- WorkflowElementIconAttribute(string)
Initializes a new instance of the WorkflowElementIconAttribute class with the name of the icon resource that should represent the workflow element.
- WorkflowElementIconAttribute(string, string)
Initializes a new instance of the WorkflowElementIconAttribute class with the name of the icon resource that should represent the workflow element, scoped by the namespace of the specified type.
- WorkflowElementIconAttribute(Type, string)
Initializes a new instance of the WorkflowElementIconAttribute class with the name of the icon resource that should represent the workflow element, scoped by the namespace of the specified type.
Fields
- Default
Specifies the default value for the WorkflowElementIconAttribute. This field is read-only.
Properties
- Name
Gets the name of the icon resource that should represent the workflow element this attribute is bound to.
- TypeName
Gets the optional qualified type name that will be used to scope the name of the icon resource.