Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Custom AvailableContentTypes attribute

$
0
0

Does anyone know if we can create a custom attribute to show/hide a page type that depends on a custom condition? I would like to have an attribute like:

[CustomAvailableContentType]
public class ProductPage : StandardPage, IHasRelatedContent
{
}



Viewing all articles
Browse latest Browse all 9076

Trending Articles