KanbanCard Class
A card of a kanban board: a task, with its assignee, its ticket and its priority.
public sealed class KanbanCardConstructors
| Name | Description |
|---|---|
| KanbanCard(string, DiagramText?) | Initializes a new instance of the KanbanCard class. |
KanbanCard(string, DiagramText?)
KanbanCard.csInitializes a new instance of the KanbanCard class.
public KanbanCard(string id, DiagramText? label = null)Parameters
idstring- The identifier, which is the text when there is no label.
labelDiagramText?- The text, or
nullto show the identifier.
Properties
| Name | Description |
|---|---|
| Assigned | Gets or sets the person the task is assigned to, shown on the bottom right, or null for none. |
| CssClasses | Gets the CSS classes, written to the SVG. |
| Id | Gets the identifier. |
| Label | Gets or sets the text, or null to show the identifier. |
| Priority | Gets or sets the priority, shown as a colored stripe on the left, or null for none. |
| Ticket | Gets or sets the ticket of the task, shown on the bottom left, or null for none. |
Assigned
KanbanCard.csCssClasses
KanbanCard.csGets the CSS classes, written to the SVG.
Property value
Label
KanbanCard.csGets or sets the text, or null to show the identifier.
public DiagramText? Label { get; set; }Property value
Priority
KanbanCard.csGets or sets the priority, shown as a colored stripe on the left, or null for none.
public KanbanPriority? Priority { get; set; }Property value
Ticket
KanbanCard.csMethods
| Name | Description |
|---|---|
| ToString() | Returns the identifier. |