Hi,
Purpose: extending the RadTreeView & RadTreeViewItem
In order to immplement the purpose above i had to inherit the both classes.
When i binding the NewRadTreeView ItemSource to viewmodel
i found the previous RadTreeViewItem instead NewRadTreeViewItem.
In order to use my NewRadTreeViewItem i did the override below in NewRadTreeView & NewRadTreeViewItem:
protected override DependencyObject GetContainerForItemOverride()
{
var rti = base.GetContainerForItemOverride();
if(rti is RadTreeViewItem)
{
rti = new NewRadTreeView();
}
}
I wonder if i'll have to expect for other things that might affect?
What about the AddItem, Next, Previous etc...?
Best regards
Purpose: extending the RadTreeView & RadTreeViewItem
In order to immplement the purpose above i had to inherit the both classes.
When i binding the NewRadTreeView ItemSource to viewmodel
i found the previous RadTreeViewItem instead NewRadTreeViewItem.
In order to use my NewRadTreeViewItem i did the override below in NewRadTreeView & NewRadTreeViewItem:
protected override DependencyObject GetContainerForItemOverride()
{
var rti = base.GetContainerForItemOverride();
if(rti is RadTreeViewItem)
{
rti = new NewRadTreeView();
}
}
I wonder if i'll have to expect for other things that might affect?
What about the AddItem, Next, Previous etc...?
Best regards