Use HTML Template with Kanbanboard Items

I want to use the HTMLTemplate in Kanbanboard.ItemAppearance.
Unfortunately, it is not clear to me how I have to create the HTMLTemplateItem Pairs for the items and how I get the HTMLTemplate as text the Kanbanboarditem? Can anyone help me? The Kanbanboard demo did not get me any further and also in the documentation of the Kanbanboard there is nothing to be found about it.

Hi,

the HTML template is designed to predefine formatted HTML text in the item, which is then filled it with value name pairs in the HTMLTemplateItems at item level. Below is a sample applied to the default TTMSFNCKanbanBoard

procedure TForm1.FormCreate(Sender: TObject);
var
  it: TTMSFNCKanbanBoardItem;
begin
  TMSFNCKanbanBoard1.BeginUpdate;
  TMSFNCKanbanBoard1.ItemsAppearance.HTMLTemplate := '<b><#NAME></b><br/><br/><font size="12" color="gcGray"><#DESCRIPTION></font>';
  it := TMSFNCKanbanBoard1.Columns[0].Items[0];
  it.HTMLTemplateItems.Values['NAME'] := 'My Name';
  it.HTMLTemplateItems.Values['DESCRIPTION'] := 'My description';
  TMSFNCKanbanBoard1.EndUpdate;
end;

image

Thank you Pieter,
that's the answer I am looking for.

Best regards
Andreas