New to Telerik UI for WinForms? Start a free 30-day trial
RadRadioButtonElement
Updated over 6 months ago
RadRadioButtonlElement contains the logic and user interface for a single RadRadioButton.

C#
public class MyRadioButtonControl : RadControl
{
protected override void CreateChildItems(RadElement parent)
{
RadRadioButtonElement radRadioButtonElement = new RadRadioButtonElement();
radRadioButtonElement.ToggleState = ToggleState.On;
radRadioButtonElement.RadioCheckAlignment = ContentAlignment.BottomRight;
this.RootElement.Children.Add(radRadioButtonElement);
base.CreateChildItems(parent);
}
}