API Reference: IgnoreMemberAttribute Class

The IgnoreMemberAttribute can be applied to content model properties. The attribute specifies that the class member should be ignored by the Redakt system. The member will not show up in the user interface. You can use this to add custom (calculated) properties to your models that do not need to be managed by Redakt. You can still set a value for an ignored property in a content item through custom scripting.


Decorate the model class with the IgnoreMemberAttribute. No additional parameters are required. The attribute is not required for class methods, as they are always ignored by Redakt.

Redakt also recognizes the .NET IgnoreDataMemberAttribute from the System.Runtime.Serialization namespace. Applying this attribute has the same effect as IgnoreMemberAttribute.


public class ContactPerson: IContentType
        public string FirstName { get; set; }

        public string LastName { get; set; }

        [IgnoreMember]  // This property is ignored by Redakt
        public string EmailAddress { get; set; }

        [IgnoreDataMember]  // The .NET IgnoreDataMember is also recognized
        public string FullName => this.FirstName + " " + this.LastName;