I have used IDataErrorInfo Validation for my Model. But when I use these model classes inside a view model, the validation does not happen.
sample viewmodel below
public class CategoryViewModel    
{
    // Category class with IDataErrorInfo
    public Category category { set; get; }
    // Subcategory class with IDataErrorInfo
    public IList<SubCategory> subcategory { set; get; }
}
Now, if Category or Subcategory classes are directly used as models for view, the validation works fine. But, if CategoryViewModel is used, no validation occurs.