# RadRadioButtonElement

**RadRadioButtonElement** contains the logic and user interface for a single RadRadioButton.

![Telerik UI for WinForms RadRadioButtonElement example](https://www.telerik.com/products/winforms/documentation/assets/67fe9ca454107a1c6f22c3335ae0e1a8/tpf-elements-radradiobutton001.png)

 

 

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

```

```VB.NET
Public Class MyRadioButtonControl
    Inherits RadControl
    Protected Overrides Sub CreateChildItems(ByVal parent As RadElement)
        Dim radRadioButtonElement As New RadRadioButtonElement()
        radRadioButtonElement.ToggleState = ToggleState.On
        radRadioButtonElement.RadioCheckAlignment = ContentAlignment.BottomRight
        Me.RootElement.Children.Add(radRadioButtonElement)
        MyBase.CreateChildItems(parent)
    End Sub
End Class

```



## See Also

* [Elements Overview](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/elements/overview)

* [RadTrackBarElement](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/elements/radtrackbarelement)
