Alloy.Models.Blocks.PageListBlock.SetDefaultValues C# (CSharp) 메소드

SetDefaultValues() 공개 메소드

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

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