API
BindPropertyAttribute
Opts a property into model binding.
Formal Syntax & Structure
csharp syntaxcsharp
[BindProperty] public string? Title { get; set; }Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.[BindProperty] public string? Title { get; set; }