Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Es handelt sich hierbei um ein Layout welches ein “geführtes” Detail mit verschieden Schritten ermöglicht.

...

Code Definition

Code Block
languagec#
using (var layout = elements.Contact.Add.Layout(LayoutType.Wizar, "Wizard"))
{
  using (var wizardPage = layout.Add.Group("General").Control("WizardPage"))
  {
    wizardPage.Caption(German, "Allgemein")
      .Caption(English, "General");

    wizardPage.Add.Link(metadata.Contact.Person);
    wizardPage.Add.Link(metadata.Contact.ContactType);
    wizardPage.Add.Link(metadata.Contact.Value);
    wizardPage.Add.Link(metadata.Contact.SortOrderPerson);
  }

  using (var wizardPage = layout.Add.Group("Validity").Control("WizardPage"))
  {
    wizardPage.Caption(German, "Gültigkeit")
      .Caption(English, "Validity");

    wizardPage.Add.Link(metadata.Contact.FromDate);
    wizardPage.Add.Link(metadata.Contact.ToDate);
  }
}

...