Gets or sets the number of levels to show in this Web Part.
[PersonalizableAttribute(PersonalizationScope.Shared)] [WebBrowsableAttribute(false)] public int LevelsToShow { get; set; }
This information is passed to the LevelHierarchyDataSource to control the number of levels of data to get. The default value is 2.