Sections and views
You can specify where the properties are displayed. Sitefinity CMS support the following levels of differentiation:
- By views
You can specify whether the properties are displayed in the main view (basic) or in the advanced view. If you do not specify anything, the property appears in the basic view. This way, you can place in the advanced view properties that requires more technical knowledge or are rarely used. - By section
You can use this attribute to group the properties in sections inside the view and provide expand and collapse capability.
The following code sample, moves the first property to the advanced section and puts the second property in a particular section:
C#
[Category("Advanced")]
public bool AdvancedPropertyWithoutSection { get; set; }
[ContentSection("Separate collapsed section title.")]
public bool SeparateSectionProperty { get; set; }
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.