RadioButton Control



This control is used to provide selection of only one option from the given group of options. And the name is given like if take Radio we can tune only one channel at once in the same way it is possible to select only one RadioButton from the group
The RadioButton control can display text, an Image, or both.

Properties with RadioButton Class 

SNO
 Property and Options
  Type
                  Description
01
AutoSize
     True
      False(Default)
bool
True: Control is resized according to
          contents
False: Control cannot be resized
           according to contents
02
CheckAlign
TopLeft
TopCenter
TopRight
MiddleLeft
MiddleCenter
MiddleRight
BottomLeft
BottomCenter
BottomRight
enum
TopLeft: Content is vertically aligned at the top, and horizontally aligned on the left
TopCenter: Content is vertically aligned at the top, and horizontally aligned on the Center
TopRight: Content is vertically aligned at the top, and horizontally aligned on the Right
MiddleLeft: Content is vertically aligned at the middle, and horizontally aligned on the left
MiddleCenter: Content is vertically aligned at the middle, and horizontally aligned on the center
MiddleRight: Content is vertically aligned at the middle, and horizontally aligned on the Right
BottomLeft: Content is vertically aligned at the bottom, and horizontally aligned on the left
BottomCenter: Content is vertically aligned at the Bottom, and horizontally aligned on the center
BottomRight: Content is vertically aligned at the Bottom, and horizontally aligned on the Right
03
Checked

     True

     False(Default)
bool
True: RadioButton  is Activated/Selected
False: RadioButton is not Activated/Selected




Events Associated with RadioButton Class

CheckedChanged is the default Event of the RadioButton
This event will be fired when radio button is selected or deselected

No comments:

Post a Comment