ContentQuery.Depth Property

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

Gets or sets a value indicating the depth of the search (only when ParentId and/or AppId is specified). Default is 0 which disables Depth search, 1 returns only the immediate children of the specified parent, 2 returns children and grandchildren etc. Setting Depth to null will search all descendants of the specified parent.

public int? Depth { get; set; }

Property value

int?