ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / TreeView Class / Source Property

In This Topic
    Source Property
    In This Topic
    Gets or sets the array that contains the items in TreeView. Arrays usually have a hierarchical structure with items that contain child items. There is no fixed limit to the depth of the items.
    Syntax
    'Declaration
     
    
    <JsonAttribute("ItemsSource")>
    <JsonConverterAttribute(#v6s.#dbt)>
    Public Property Source As IEnumerable(Of Object)
    [Json("ItemsSource")]
    [JsonConverter(#v6s.#dbt)]
    public IEnumerable<object> Source {get; set;}
    See Also