Conventions
Guidelines for fluent configuration and naming conventions in Umbraco UI Builder.
Fluent Conventions
Umbraco UI Builder follows a fluent configuration style, allowing method chaining for concise and readable code. Alternatively, a lambda expression can be used for a more structured approach.
Chaining Example
Lambda Expression Example Example
Naming Conventions
Methods prefixed with Add allow multiple configurations.
Methods prefixed with Set permit only one instance within the current configuration context.
Last updated
Was this helpful?