-
Notifications
You must be signed in to change notification settings - Fork 10
RadioButton
mdavisprog edited this page Apr 5, 2023
·
2 revisions
RadioButton consists of a circle button followed by a text control. RadioButtons within a single container are considered as part of the same group. Only a single RadioButton can be selected within this group. When selected, the circle is filled and the previous selected RadioButton is unfilled.
Name | Description |
---|---|
OnPaint | This is called for all controls of a given Window when a repaint request is issued. This can come from another control or from outside the library such as an event fired from the frontend. BrushThe object to add painting commands to. |
OnLoad | A Window may have its controls defined within a JSON stream. The Window will parse the stream into a hierarchy of JSON objects and is passed to each control to give them an opportunity to load any properties that define the control. The stream can come from a list of places such as a disk, memory, or network stream. RootThe Json object containing the properties to load for this control. |