Transcription activator which binds specifically to the MEF2 element present in the regulatory regions of many muscle-specific genes. Controls cardiac morphogenesis and myogenesis, and is also involved in vascular development. Enhances transcriptional activation mediated by SOX18. Plays an essential role in hippocampal-dependent learning and memory by suppressing the number of excitatory synapses and thus regulating basal and evoked synaptic transmission. Crucial for normal neuronal development, distribution, and electrical activity in the neocortex. Necessary for proper development of megakaryocytes and platelets and for bone marrow B-lymphopoiesis. Required for B-cell survival and proliferation in response to BCR stimulation, efficient IgG1 antibody responses to T-cell-dependent antigens and for normal induction of germinal center B-cells. May also be involved in neurogenesis and in the development of cortical architecture (By similarity). Isoforms that lack the repressor domain are more active than isoform 1. {ECO:0000250|UniProtKB:Q8CFN5, ECO:0000269|PubMed:11904443, ECO:0000269|PubMed:15340086, ECO:0000269|PubMed:15831463, ECO:0000269|PubMed:15834131, ECO:0000269|PubMed:9069290, ECO:0000269|PubMed:9384584}. This is the function of MEF2C (myocyte enhancer factor 2C, ENSG00000081189).