Edit this page

Properties

Property Description Result
RadioCheckAlignment Gets or sets a value indicating the alignment of the radio button. buttons-radiobutton-properties-methods-events 001
Image Gets or sets the image that is displayed on the radio button control. To add an image to RadRadioButton at design time, click on the Image property (the ellipsis button) to launch the Select Resource dialog. Use the Import button to load image files as a Local Resource, i.e. for that radio button only, or as a Project resource file where other components can share the same images. buttons-radiobutton-properties-methods-events 002
TextImageRelation Gets or sets the position of text and image relative to each other. Note that the value of this property is independent of the value of RadioCheckAlignment. Setting the RadioCheckAlignment property to MiddleRight and setting TextImageRelation to TextBeforeImage will result in the image being placed between the text and the check box. buttons-radiobutton-properties-methods-events 003
Text Gets or sets the text associated with the drop down button control. buttons-radiobutton-properties-methods-events 004
DisplayStyle Defines the display image and text style of an item.
None: Specifies that neither image nor text is rendered.
Text: Specifies that only text is rendered.
Image: Specifies that only an image is rendered.
ImageAndText: Specifies that both an image and text are to be rendered.
buttons-radiobutton-properties-methods-events 005
ButtonElement Gets the instance of RadRadioButtonElement wrapped by this control. RadRadioButtonElement is the main element in the hierarchy tree and encapsulates the actual functionality of RadRadioButton.
ToggleState Gets or sets the toggle state. Toggle state enumeration defines the following values: Off, Indeterminate, and On.
CheckState * Gets or sets the check state. Check state enumeration defines the following values: Uncheck, Indeterminate, and Check.

Methods

Method Description
PerformClick Generates a Click event for a radio button.

Events

Event Description
ToggleStateChanging Occurs before the item's toggle state changes.
ToggleStateChanged Occurs when the elements's state changes.
CheckStateChanging Occurs before the elements's check state changes.
CheckStateChanged Occurs when the elements's check state changes.
important

Due to the specifics of the simple data binding we have introduced the CheckStateChanging and CheckStateChanged events together with the CheckState property. These events and property provide the same functionality as the ToggleStateChanged, ToggleStateChanging and the ToggleState property, but give you the ability to simple data bind the control.

See Also