Get and set control type.