public override Style SelectStyle(object item, DependencyObject container)
{
if (item is StoreCategorizeTreeViewModel)
{
return this.StoreCategorizeTreeViewModelStyle;
}
else if (item is StoreTreeViewModel)
{
return this.StoreTreeViewModelStyle;
}
else if (item is BoxTreeViewModel)
{
return this.BoxTreeViewModelStyle;
}
return null;
}