Plan
Description
A component to display a plan
The Plan component displays a complex task with its sub-tasks and overall progress.
API reference
public sealed class Plan : IComponent, IHasMarginPaddingA timeline-style display for showing a multi-step plan or schedule with start/end times for each step.
Properties
public string Margin { get ; set ; }Gets or sets the CSS margin of the component.
Methods
public Plan HeaderCommands(params IComponent[] commands)Sets the components shown in the header command area.
public Plan AddTask(string title, bool completed)Adds the given task to the component.
public Plan Progress(int position, int total)Configures the component to progress.
public Plan StartStopButton(Action<Button> onStartStop)Adds a start / stop toggle button wired up via the supplied callback.