This control is used to provide selection of more
than one options from the given group of options
The CheckBox control can display text, an image, or
both
properties with CheckBox 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: CheckBox is
Activated/Selected
False: CheckBox is
not Activated/Selected
|
04
|
CheckState
UnChecked(Default)
Checked
Indeterminate
|
enum
|
Indicates the state of the CheckBox
|
05
|
ThreeState
True
False
|
bool
|
True:
CheckBox
will have three
States
False:
CheckBox
will have two
States
|
Events Associated with CheckBox Class
CheckedChanged
is the default Event of the CheckBox
This Event will be
fired when CheckBox is selected or deselected
No comments:
Post a Comment