var item = new NGalleryItem();item.Label.Text = string.Format("<p id={1} path=\"{2}\"><b>Name: {0}</b><br />Polarity: {3}</p>", Name, // name Id, // dictionary item id FilePath, // rda-file path Polarity);