CheckBox style attributes

CheckBox style presentation attributes apply to a checkbox element.

Table 1. CheckBox style attributes
Attribute Description GDC CLIENT HTML5 CLIENT
customWidget Defines the rendering and behavior of a checkbox widget, using the native look and feel of the display device.

Values can be:

  • "ios" - When "ios" is set, the checkbox looks like an iPad or iPhone checkbox with the three possible states (null, false, true).
    <Style name="CheckBox.iosstyle">
     <StyleAttribute
      name="custmoWidget"
      value="ios"/>
    </Style>
  • "browser" - When "browser" is set, the checkbox looks like and behaves like any other checkbox in your browser with two possible states (false, true).
    <Style name="CheckBox.browserstyle"> 
     <StyleAttribute
      name="customWidget"
      value="browser"/>
    </Style> 
No Yes