private static IType GetBindingType(DocumentCompositeNode bindingNode) { return(DataContextHelper.GetTypeFromDataSource(DataContextHelper.GetDataSourceInfoFromBinding(bindingNode))); }