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(C1.Web.Mvc.ItemsSourceConverter)>
    Public Property Source As IEnumerable(Of Object)
    [Json("ItemsSource")]
    [JsonConverter(C1.Web.Mvc.ItemsSourceConverter)]
    public IEnumerable<object> Source {get; set;}
    See Also