Idioms are phrases which cannot be understood simply by looking at the meaning of the individual words in the phrase.
to the contrary
contrary to what has been stated or thought
Everybody thought that the boy was bored at the dinner but to the contrary he was quite interested.
List of common idioms, their meanings and examples of their usage in sentences
An idiom is defined as - a group of words whose meaning is different from the meanings of the individual words.