This question is locked. New answers and comments are not allowed.
Hi. I have class
And I want create tree that look like
TreeName
|
MyClass1Element
|
MyClass4Element
|
MyClass2Element
|
MyClass5Element
|
MyClass3Element
|
MyClass6Element
Please tell me what I must do for this tree?
public
class
Tree
{
public
string
Name {
get
;
set
;}
public
ObservableCollection<MyClass1> Folder1{
get
;
set
;}
public
ObservableCollection<MyClass2> Folder1{
get
;
set
;}
public
ObservableCollection<MyClass3> Folder1{
get
;
set
;}
}
public
class
MyClass1
{
public
string
Name;
public
ObservableCollection<MyClass4> someData
}
public
class
MyClass2
{
public
string
Name;
public
ObservableCollection<MyClass5> someData
}
public
class
MyClass3
{
public
string
Name;
public
ObservableCollection<MyClass6> someData
}
And I want create tree that look like
TreeName
|
MyClass1Element
|
MyClass4Element
|
MyClass2Element
|
MyClass5Element
|
MyClass3Element
|
MyClass6Element
Please tell me what I must do for this tree?