The manual says (on page 56):
NOTE
The position snaps to the grid that is defined by the quantize value.
(Cubase_Pro_Score_12_Score_Layout_and_Printing_en.pdf - WebHelp version)
A little bit better:
The note snaps to the grid that is defined by the quantize preset menu .