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

Class that represent a “button” tag. The button tag defines a clickable button.
C#
public class Button : CodiumSDK.CPL.HTMLTagBase

Métodos

NombreDescripción
GetAttribute(name)Get Attribute

Constructores

NombreDescripción
Button()Button
Button(program, type, autofocus, disabled, name, value, innerHTML, style, className, id, title)Constructor for button

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

Button()

Button
C#
public Button();

Button(program, type, autofocus, disabled, name, value, innerHTML, style, className, id, title)

Constructor for button
C#
public Button(CodiumSDK.CPL.ProgramDefinition program, CodiumSDK.CPL.HTMLTags.Button.ButtonType type, System.Boolean autofocus, System.Boolean disabled, System.String name, System.String value, System.String innerHTML, System.String style, System.String className, System.String id, System.String title);

Parámetros

NombreTipoDescripción
programCodiumSDK.CPL.ProgramDefinitionProgram Definition
typeCodiumSDK.CPL.HTMLTags.Button.ButtonTypeSpecifies the type of button
autofocusSystem.BooleanSpecifies that a button should automatically get focus when the page loads
disabledSystem.BooleanSpecifies that a button should be disabled
nameSystem.StringSpecifies a name for the button
valueSystem.StringSpecifies an initial value for the button
innerHTMLSystem.StringInner HTML
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