The Panel control supports the following properties (this is not a complete list):
| S.N. |
Property |
Description |
| 1) |
ID |
Set the uniqe value to control to access in code-behind code. |
| 2) |
DefaultButton |
Used to set the default button in a Panel. The default
button is invoked when we press the Enter button. |
| 3) |
Direction |
Used to get or set the direction in which controls that display
text are rendered. Possible values are NotSet, LeftToRight, and RightToLeft. |
| 4) |
BackColor |
change the background color of the panel control. |
| 5) |
BorderColor |
set the color of a border rendered around the panel control. |
| 6) |
BorderStyle |
display a border around the panel control. Possible values are NotSet, None, Dotted, Dashed,
Solid, Double, Groove, Ridge, Inset, and Outset. |
| 7) |
BorderWidth |
set the size of a border rendered around the panel control. |
| 8) |
CssClass |
Associate a Cascading Style Sheet class with the panel. |
| 9) |
Font |
Set the label’s font properties. |
| 10) |
ForeColor |
Set the color of the content rendered by the panel. |
| 11) |
Style |
Assign style attributes to the panel. |
| 12) |
ToolTip |
Set a panel’s title attribute. |
| 13) |
GroupingText |
Used to display the Panel control as a fieldset with a particular legend. |
| 14) |
HorizontalAlign |
Used to specify the horizontal alignment of the contents
of the Panel. Possible values are Center, Justify, Left, NotSet, and Right. |
| 15) |
ScrollBars |
Used to display scrollbars around the panel’s contents. Possible
values are Auto, Both, Horizontal, None, and Vertical. |
| 16) |
Visible |
Used to display or hide the panel control. |
| 17) |
Width |
Used to set the width of panel control. |
| 18) |
Height |
Used to set the height of panel control |
No comments:
Post a Comment
Please do not enter any spam link in the comment box.