Basic Control 1234 Shorthand properties

Source: Internet
Author: User

One, Label control (Class)
Property:
(a) Layout:
Width: Available in both pixels and percent type: Unit
Height: Available in pixels, also available as percent type: unitunit.pixel (pixels) unit.percentage (percent)

(ii) Background and prospects
BackColor: (color) Background color
ForeColor: (color) text color
Font
Name: Font names
Size: Font sizes
Bold:
Italic:
Underline:

(c) Border
BorderColor:
BorderStyle:
BorderWidth:

(iv) Other:
Text-label text
Visable= is visible
Enabled-is available.
CssClass-Class in the style sheet

Second, Literal: Tags:
Text-the words on the label
Visible-Can you see

Three, text box textbox
All properties that have a label.
TextMode-the type of the text box.
singleline-Single Line
multiline-Multiple lines
password-Password
ReadOnly-is read-only
maxlength-the maximum input string

Four, button, buttons
All properties that have a label.
The JS script to be onclientclick--when the button is clicked.
Five, LinkButton hyperlink button.
All properties that have a label.
The JS script to be onclientclick--when the button is clicked.
Six, ImageButton Picture button.
All properties that have a label.
The JS script to be onclientclick--when the button is clicked.
imageurl-picture path.

Basic Control 1234 Shorthand properties

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.