Alloy.Models.Blocks.PageListBlock.SetDefaultValues C# (CSharp) Méthode

SetDefaultValues() public méthode

Sets the default property values on the content data.
public SetDefaultValues ( ContentType contentType ) : void
contentType ContentType Type of the content.
Résultat void
        public override void SetDefaultValues(ContentType contentType)
        {
            base.SetDefaultValues(contentType);

            Count = 3;
            IncludeIntroduction = true;
            IncludePublishDate = false;
            SortOrder = FilterSortOrder.PublishedDescending;
        }
PageListBlock