Skip to content

Instantly share code, notes, and snippets.

@sitefinitySDK
Last active October 25, 2024 23:13
Show Gist options
  • Save sitefinitySDK/b4ed4cd246071ee121ce322c153d4b37 to your computer and use it in GitHub Desktop.
Save sitefinitySDK/b4ed4cd246071ee121ce322c153d4b37 to your computer and use it in GitHub Desktop.
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using Progress.Sitefinity.AspNetCore.Configuration;
using Progress.Sitefinity.RestSdk;
using Progress.Sitefinity.Renderer.Designers;
using Progress.Sitefinity.AspNetCore.Widgets.Models.ContentBlock;
namespace Rendererk.Entities
{
/// <summary>
/// Extended entity class for the ContentBlock view component.
/// </summary>
public class ExtendedContentBlockEntity : ContentBlockEntity
{
/// <summary>
/// Gets or sets the custom prop.
/// </summary>
[Category(PropertyCategory.Advanced)]
[DisplayName("Text to append")]
public string TextToAppend { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment