Sunday, April 19, 2026
Sitecore

Rendering Parameters Generator

Generate Sitecore rendering parameter templates and code for component configuration.

Configuration
Generated Output
// Configure your rendering parameters on the left to generate output

How to Use the Rendering Parameters Generator

The Sitecore Rendering Parameters Generator produces both the Sitecore template definition and a strongly-typed C# model class for rendering parameters. Rendering parameters allow content editors to configure component-level settings — such as layout variants, background colors, or content references — directly in the Experience Editor or Pages editor.

Enter your rendering name and namespace, then add parameter fields using the appropriate Sitecore field type for each. Switch between the Sitecore Template Definition and C# Model Class tabs to see both outputs. Copy and use them as the basis for your Sitecore rendering parameters template and corresponding C# class.

Field Type to C# Type Mapping

  • Single-Line Text / Multi-Line Textstring
  • Checkboxbool
  • Integerint
  • Numberdecimal
  • ImageSitecore.Data.Fields.ImageField
  • Droplink / DroplistSitecore.Data.ID
  • Treelist / MultilistIEnumerable<Sitecore.Data.ID>

Using Rendering Parameters in Sitecore MVC

After creating the Sitecore template, create a rendering parameters template item in the Sitecore content tree under /sitecore/templates/User Defined. Assign the template to your rendering's Parameters Template field. In your controller, use RenderingContext.CurrentOrNull.Rendering.Parameters to access the values and map them to your strongly-typed model class.