Constructor RadioGroup
RadioGroup()
Initializes a new instance of the RadioGroup class using Computed layout.
public RadioGroup()
RadioGroup(ustring[], int)
Initializes a new instance of the RadioGroup class using Computed layout.
public RadioGroup(ustring[] radioLabels, int selected = 0)
Parameters
radioLabelsustring[]The radio labels; an array of strings that can contain hotkeys using an underscore before the letter.
selectedintThe index of the item to be selected, the value is clamped to the number of items.
RadioGroup(Rect, ustring[], int)
Initializes a new instance of the RadioGroup class using Absolute layout.
public RadioGroup(Rect rect, ustring[] radioLabels, int selected = 0)
Parameters
rectRectBoundaries for the radio group.
radioLabelsustring[]The radio labels; an array of strings that can contain hotkeys using an underscore before the letter.
selectedintThe index of item to be selected, the value is clamped to the number of items.
RadioGroup(int, int, ustring[], int)
Initializes a new instance of the RadioGroup class using Absolute layout. The View frame is computed from the provided radio labels.
public RadioGroup(int x, int y, ustring[] radioLabels, int selected = 0)