A small editor payload type representing a label control in the Razor designer. It specifies the control kind as Label and overrides the default Content property with an empty-string default.
using System.Text.Json.Serialization;
namespace Grains.RazorDesigner.Document;
public sealed record LabelPayload : Payload
{
[JsonIgnore]
public override ControlType Kind => ControlType.Label;
// Text content of the label. Overrides Payload.Content (neutral default "").
public override string Content { get; init; } = "";
}