New to Telerik UI for WinFormsStart a free 30-day trial

RadRadioButtonElement

Updated over 6 months ago

RadRadioButtonlElement contains the logic and user interface for a single RadRadioButton.

tpf-elements-radradiobutton 001

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);
    }
}

See Also

In this article
See Also
Not finding the help you need?
Contact Support