Class FormSection
Logical grouping of fields within a form.
public sealed record FormSection : IEquatable<FormSection>
- Inheritance
-
FormSection
- Implements
- Inherited Members
Properties
Collapsible
Whether host UI may collapse this section.
public bool Collapsible { get; init; }
Property Value
Description
Optional section description or help text.
public string? Description { get; init; }
Property Value
Fields
Ordered fields in this section.
public IReadOnlyList<FormField> Fields { get; init; }
Property Value
InitiallyCollapsed
Whether host UI should initially collapse this section.
public bool InitiallyCollapsed { get; init; }
Property Value
Label
Human-readable section label.
public required string Label { get; init; }
Property Value
Repeatable
Whether the section can be repeated to capture multiple entries.
public bool Repeatable { get; init; }
Property Value
SectionId
Stable section identifier.
public required string SectionId { get; init; }