ASP. NET Server Control Properties

Source: Internet
Author: User
  Name Description
Accesskey Obtain or set the access key that allows you to quickly navigate to the Web server control.(Inherited from webcontrol .)
Adapter Obtain the browser-specific adapter of the control.(Inherited from control .)
Apprelativetemplatesourcedirectory Obtain or setPageOrUsercontrolObject ApplicationProgramRelative to a virtual directory.(Inherited from control .)
Attributes Obtain a set of any features (only for rendering) that do not match the features of the control.(Inherited from webcontrol .)
Backcolor Gets or sets the background color of the Web server control.(Inherited from webcontrol .)
Bindingcontainer Infrastructure.Obtain the data bound control that contains the control.(Inherited from control .)
Bordercolor Obtain or set the border color of the web control.(Inherited from webcontrol .)
Borderstyle Obtain or set the border style of the Web server control.(Inherited from webcontrol .)
Borderwidth Obtain or set the Border width of the Web server control.(Inherited from webcontrol .)
Causesvalidation Gets or sets a value, which indicates thatButtonWhether to perform verification during the control.
Childcontrolscreated Gets a value indicating whether the child control of the server control has been created.(Inherited from control .)
Clientid Obtain the HTML Tag Control ID generated by ASP. NET.(Inherited from control .)
Clientidmode Get or set to generateClientidAttribute ValueAlgorithm.(Inherited from control .)
Clientidseparator Obtains a character value, which indicatesClientidThe delimiter used in the property.(Inherited from control .)
Commandargument Gets or sets an optional parameter, which is associatedCommandnamePassed togetherCommandEvent.
Commandname Obtain or set the command name.CommandEventButtonControls are associated.
Context ObtainHttpcontextObject.(Inherited from control .)
Controls ObtainControlcollectionThe child control of the server control specified in the UI hierarchy.(Inherited from control .)
Controlstyle Obtain the style of the Web server control.This property is mainly used by control developers.(Inherited from webcontrol .)
Controlstylecreated Gets a value indicating whether it is alreadyControlstyleProperty createdStyleObject.This property is mainly used by control developers.(Inherited from webcontrol .)
Cssclass Gets or sets the Cascading Style Sheet (CSS) class presented by the Web server control on the client.(Inherited from webcontrol .)
Dataitemcontainer If the container name is implementedIdataitemcontainerTo obtain the reference to the named container.(Inherited from control .)
Datakeyscontainer If the container name is implementedIdatakeyscontrolTo obtain the reference to the named container.(Inherited from control .)
DesignMode Gets a value indicating whether a control on the design surface is being used.(Inherited from control .)
Enabled Gets or sets a value indicating whether to enable the Web Server Control.(Inherited from webcontrol .)
Enabletheming Gets or sets a value that indicates whether a topic is applied to the control.(Inherited from webcontrol .)
Enableviewstate Gets or sets a value that indicates whether the server control maintains its view status and the view status of any child control it contains to the requesting client.(Inherited from control .)
Events Obtain the event handler delegate list of the control.This attribute is read-only.(Inherited from control .)
Font Obtain the font attributes associated with the Web Server Control.(Inherited from webcontrol .)
Forecolor Obtain or set the foreground color (usually text color) of the Web server control ).(Inherited from webcontrol .)
Hasattributes Gets a value indicating whether the control has a feature set.(Inherited from webcontrol .)
Haschildviewstate Gets a value that indicates whether the child control of the current server control has any saved view status settings.(Inherited from control .)
Height Gets or sets the height of the Web server control.(Inherited from webcontrol .)
ID Gets or sets the programming identifier assigned to the control on the server.(Inherited from control .)
Idseparator Infrastructure.Obtains the characters used to separate the control identifiers.(Inherited from control .)
Ischildcontrolstatecleared Gets a value that indicates whether the control in the control has the control status.(Inherited from control .)
Isenabled Gets a value indicating whether to enable the control.(Inherited from webcontrol .)
Istrackingviewstate Gets a value that indicates whether the server control saves the changes to its view status.(Inherited from control .)
Isviewstateenabled Gets a value indicating whether the view status is enabled for the control.(Inherited from control .)
Loadviewstatebyid Gets a value indicating whether the control passesIDInstead of using indexes to load the view status.(Inherited from control .)
Namingcontainer Gets a reference to the name container of the server control. This reference creates a unique namespace to distinguishControl.IDThe server control of the property value.(Inherited from control .)
Onclientclick WhenButtonControlClickThe client script executed during the event.
Page ObtainPageInstance reference.(Inherited from control .)
Parent Gets a reference to the parent control of the server control in the page UI hierarchy.(Inherited from control .)
Postbackurl Get or set clickButtonThe URL of the webpage from the current page.
Renderingcompatibility Gets a value that specifies that the rendered HTML will be compatible with the ASP. NET version.(Inherited from control .)
Site Gets the container information, which carries the current control when presented on the design surface.(Inherited from control .)
Skinid Obtain or set the display of the control to be applied.(Inherited from webcontrol .)
Style Gets a set of text features that will be rendered as style features on the external tag of the Web server control.(Inherited from webcontrol .)
Supportsdisabledattribute Gets a value that indicatesIsenabledThe property isFalseWhether the control should render the HTML ElementDisabledSet the feature to "disabled ".(Inherited from webcontrol .)
Tabindex Obtain or set the tab index of the Web server control.(Inherited from webcontrol .)
Tagkey ObtainHtmltextwritertagValue.This property is mainly used by control developers.(Inherited from webcontrol .)
Tagname Obtain the control tag name.This property is mainly used by control developers.(Inherited from webcontrol .)
Templatecontrol Gets or sets a reference to a template containing the control.(Inherited from control .)
Templatesourcedirectory ObtainPageOrUsercontrol.(Inherited from control .)
Text Obtain or setButtonText title displayed in the widget.
Tooltip Obtain or set the text displayed when the mouse pointer is hovering over the Web Server Control.(Inherited from webcontrol .)
Uniqueid Obtains the unique identifier of a server control that is defined in layers.(Inherited from control .)
Usesubmitbehavior Gets or sets a Boolean value, which indicatesButtonControls use the submission mechanism of the client browser or ASP. NET sending back mechanism.
Validationgroup Obtain or setButtonControl group to be verified when the control is sent back to the server.
Viewstate A dictionary for retrieving status information. This information allows you to save and restore the view status of the server control among multiple requests on the same page.(Inherited from control .)
Viewstateignorescase Gets a value that indicatesStatebagWhether the object is case insensitive.(Inherited from control .)
Viewstatemode Gets or sets the view status mode of this control.(Inherited from control .)
Visible Gets or sets a value that indicates whether the server control is displayed as the UI on the page.(Inherited from control .)
Width Gets or sets the width of the Web server control.(Inherited from webcontrol .)

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.