The pH-induced emission switching and interesting DNA-binding properties of a novel dinuclear ruthenium(II) complex.