Hi,
I want to set the border of the checkbox thin. Below is the code:
checkBox = new CheckBox(checkBoxName, 0, 0, 20f, 20f);
checkBox.DefaultChecked = true;
checkBox.ReadOnly = true;
checkBox.BorderStyle.SetThin();
checkBox.BorderStyle = BorderStyle.Solid;
However, it does not work. The border is still thick.
Can you tell me what am I missing.