Declarative support for CheckBox (#7749)

Change-Id: Ia0608cd0827ab09d9b30993738acd45317778e55