ComponentOne TreeView for WinForms
DataSource Property



C1.Win.TreeView Namespace > C1TreeView Class : DataSource Property
Gets or sets the object used as the data source for the current tree view control.
Syntax
'Declaration
 
<C1CategoryAttribute("データ")>
<C1DescriptionAttribute("現在のツリービューコントロールのデータソースとして使用されるオブジェクトを取得または設定します。")>
<DefaultValueAttribute()>
<AttributeProviderAttribute(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")>
Public Property DataSource As Object
'Usage
 
Dim instance As C1TreeView
Dim value As Object
 
instance.DataSource = value
 
value = instance.DataSource
[C1Category("データ")]
[C1Description("現在のツリービューコントロールのデータソースとして使用されるオブジェクトを取得または設定します。")]
[DefaultValue()]
[AttributeProvider(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")]
public object DataSource {get; set;}
[C1Category("データ")]
[C1Description("現在のツリービューコントロールのデータソースとして使用されるオブジェクトを取得または設定します。")]
[DefaultValue()]
[AttributeProvider(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")]
public:
property Object^ DataSource {
   Object^ get();
   void set (    Object^ value);
}
See Also

Reference

C1TreeView Class
C1TreeView Members