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
radioLabels
ustring[]The radio labels; an array of strings that can contain hotkeys using an underscore before the letter.
selected
intThe 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
rect
RectBoundaries for the radio group.
radioLabels
ustring[]The radio labels; an array of strings that can contain hotkeys using an underscore before the letter.
selected
intThe 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)