ASP.NET MVC Controls
Source Property

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(Order=-1, 
   SkipIfDefault=, 
   PropertyName="ItemsSource", 
   Name="ItemsSource")>
<JsonConverterAttribute(ConverterType=#TUn.#VUn, ConverterParameters=)>
Public Property Source As IEnumerable(Of Object)
[Json(Order=-1, 
   SkipIfDefault=, 
   PropertyName="ItemsSource", 
   Name="ItemsSource")]
[JsonConverter(ConverterType=#TUn.#VUn, ConverterParameters=)]
public IEnumerable<object> Source {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TreeView Class
TreeView Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback