Direct observation of the dual-switching behaviors corresponding to the state transition in a DNA nanoframe.