Skip to main content
Version: 3.5

RadioButton

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Enables the user to select a single option from a group of choices when paired with other RadioButton controls.

public class RadioButton : ButtonBase, IReadOnly, IValidation

Constructors

Instance memberRadioButton()

Initializes a new instance of the RadioButton class.

Instance memberRadioButton(text, onCheckedChanged)

Initializes a new instance of the RadioButton class with the specified settings.

NameTypeDescription
textStringInitial text.
onCheckedChangedAction<Object, EventArgs>Optional CheckedChanged handler.

Instance memberRadioButton(text, location, size, onCheckedChanged)

Initializes a new instance of the RadioButton class with specific initial settings.

NameTypeDescription
textStringInitial text.
locationPointInitial location.
sizeSizeInitial size.
onCheckedChangedAction<Object, EventArgs>Optional CheckedChanged handler.

Properties

Instance memberAppearance

Appearance: Returns or sets the value that determines the appearance of a CheckBox control. (Default: Normal)

Instance memberAutoCheck

Boolean: Returns or set a value indicating whether the Checked or CheckState values and the CheckBox's appearance are automatically changed when the CheckBox is clicked. (Default: True)

Instance memberAutoSize

Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: True)

Instance memberAutoToolTip

Boolean: Returns or sets whether a tooltip is displayed when the text extends beyond the size of the control. (Default: False)

The auto tooltip is set on the browser using the title attribute managed by the browser, does not use the themed tooltip managed by Wisej.NET.

Instance memberCheckAlign

ContentAlignment: Returns or sets the horizontal and vertical alignment of the check mark on a CheckBox control. (Default: MiddleLeft)

Instance memberChecked

Boolean: Gets or sets whether the control is checked. (Default: False)

Instance memberCheckedForeColor

Color: Returns or sets the text color used when the RadioButton is checked. (Default: Color [Empty])

Instance memberInvalid

Boolean: Returns or sets a value that indicates that the control is invalid.

Instance memberInvalidMessage

String: Returns or sets the invalid message that is shown in the invalid tooltip. (Default: "")

Instance memberReadOnly

Boolean: Returns or sets whether the control is read-only. (Default: False)

Instance memberTabStop

Boolean: Returns or sets whether the user can give the focus to this control using the TAB key and the Focusable property is set to true. (Default: False)

Instance memberTextAlign

ContentAlignment: Returns or sets the alignment of the text on the CheckBox control. (Default: MiddleLeft)

Methods

Instance memberPerformClick()

Generates a Click event for a RadioButton.

Events

Instance memberAppearanceChanged

EventHandler Fired when the value of the Appearance property changes.

Instance memberCheckedChanged

EventHandler Fired when the value of the Checked property changes.

Instance memberReadOnlyChanged

EventHandler Fired when the value of the ReadOnly property has changed.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
ICommandSourceDefines an object that can invoke a Command.
IDropTargetControls that support drag & drop operations implement this interface.
IImageProvides access to common image properties across the controls that implement this interface.
IReadOnlyProvides access to the ReadOnly property for coontrols that support the read-only mode.
IValidationProvides access to the validation events and properties property for controls that support validation.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.