| C1.Win.TreeView Namespace > C1TreeView Class : DataSource Property |
'Declaration<DefaultValueAttribute()> <AttributeProviderAttribute(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")> <C1CategoryAttribute("Data")> <C1DescriptionAttribute("Gets or sets the object used as the data source for the current tree view control.")> Public Property DataSource As Object
'UsageDim instance As C1TreeView Dim value As Object instance.DataSource = value value = instance.DataSource
[DefaultValue()] [AttributeProvider(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")] [C1Category("Data")] [C1Description("Gets or sets the object used as the data source for the current tree view control.")] public object DataSource {get; set;}
[DefaultValue()] [AttributeProvider(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")] [C1Category("Data")] [C1Description("Gets or sets the object used as the data source for the current tree view control.")] public: property Object^ DataSource { Object^ get(); void set ( Object^ value); }
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