Espacio de nombres: CodiumSDK.CPL.HTMLTags
Ensamblado: CodiumSDK.dll

Class that represent a “input” tag. The input tag specifies an input field where the user can enter data.
C#
public class Input : CodiumSDK.CPL.HTMLTagBase

Métodos

NombreDescripción
GetAttribute(name)Get Attribute

Constructores

NombreDescripción
Input()Input
Input(program, type, accept, alt, autocomplete, autofocus, ischecked, disabled, height, width, list, max, maxlength, min, minlength, multiple, name, pattern, placeholder, isreadonly, required, src, value, step, style, className, id, title)Constructor for input

GetAttribute(name)

Get Attribute
C#
public CodiumSDK.CPL.HTMLAttribute GetAttribute(System.String name);

Regresa

CodiumSDK.CPL.HTMLAttribute

Parámetros

NombreTipoDescripción
nameSystem.StringName of the Atrribute

Input()

Input
C#
public Input();

Input(program, type, accept, alt, autocomplete, autofocus, ischecked, disabled, height, width, list, max, maxlength, min, minlength, multiple, name, pattern, placeholder, isreadonly, required, src, value, step, style, className, id, title)

Constructor for input
C#
public Input(CodiumSDK.CPL.ProgramDefinition program, CodiumSDK.CPL.HTMLTags.Input.InputType type, System.String accept, System.String alt, CodiumSDK.CPL.HTMLTags.Form.Autocomplete autocomplete, System.Boolean autofocus, System.Boolean ischecked, System.Boolean disabled, System.Int32 height, System.Int32 width, CodiumSDK.CPL.HTMLTags.Datalist list, System.String max, System.String maxlength, System.String min, System.String minlength, System.Boolean multiple, System.String name, System.String pattern, System.String placeholder, System.Boolean isreadonly, System.Boolean required, System.String src, System.String value, System.String step, System.String style, System.String className, System.String id, System.String title);

Parámetros

NombreTipoDescripción
programCodiumSDK.CPL.ProgramDefinitionProgram Definition
typeCodiumSDK.CPL.HTMLTags.Input.InputTypeSpecifies the type input element to display
acceptSystem.StringSpecifies a filter for what file types the user can pick from the file input dialog box (only for type="file")
altSystem.StringSpecifies an alternate text for images (only for type="image")
autocompleteCodiumSDK.CPL.HTMLTags.Form.AutocompleteSpecifies whether an input element should have autocomplete enabled
autofocusSystem.BooleanSpecifies that an input element should automatically get focus when the page loads
ischeckedSystem.BooleanSpecifies that an input element should be pre-selected when the page loads (for type="checkbox" or type="radio")
disabledSystem.BooleanSpecifies that an input element should be disabled
heightSystem.Int32Specifies the height of an input element (only for type="image")
widthSystem.Int32Specifies the width of an input element (only for type="image")
listCodiumSDK.CPL.HTMLTags.DatalistRefers to a datalist element that contains pre-defined options for an input element
maxSystem.StringSpecifies the maximum value for an input element
maxlengthSystem.StringSpecifies the maximum number of characters allowed in an input element
minSystem.StringSpecifies a minimum value for an input element
minlengthSystem.StringSpecifies the minimum number of characters required in an input element
multipleSystem.BooleanSpecifies that a user can enter more than one value in an input element
nameSystem.StringSpecifies the name of an input element
patternSystem.StringSpecifies a regular expression that an input element's value is checked against
placeholderSystem.StringSpecifies a short hint that describes the expected value of an input element
isreadonlySystem.BooleanSpecifies that an input field is read-only
requiredSystem.BooleanSpecifies that an input field must be filled out before submitting the form
srcSystem.StringSpecifies the URL of the image to use as a submit button (only for type="image")
valueSystem.StringSpecifies the value of an input element
stepSystem.StringSpecifies the interval between legal numbers in an input field
styleSystem.StringSpecifies an inline CSS style for an element
classNameSystem.StringSpecifies one or more classnames for an element (refers to a class in a style sheet)
idSystem.StringSpecifies a unique id for an element
titleSystem.StringSpecifies extra information about an element