Henk Holterman is correct.
Additionally,you can get rid of the need to set an initial value and the warning by using the required keyword as in the following code:
[Parameter, EditorRequired] public required Trail Trail { get; set; }