Skip to content

RadioGroupView

The RadioGroupView control is a special GroupView like control that contains only radio buttons. When the user checks one radio button in a RadioGroupView, all other radio buttons in its group become unchecked. The RadioGroupView inherits all the methods and properties from the base class View.

Constructor:

  • constructor(parent: View)
    Creates an instance of RadioGroupView control.
    • parent: the View containing the control itself.

Properties:

  • texts: string[]
    The array of texts where each text represents one radio button.
  • text: string
    The text of the currently checked radio button within RadioGroupView.
  • columns: number
    Specifies the number of columns used to display radio buttons within RadioGroupView. Default is 1.
  • wordWrap: boolean
    Controls whether the text wraps when it exceeds the width of the control. Default is false.