EasyLanguage Object Reference

Button Class

Displays a push button control within a container in a form. A Click event is fired when the button is pressed.

The name of the button and size are specified when the object is instantiated using the Create method.

Namespace: elsystem.windows.forms

[ Expand All ]
Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

Methods
  Name Description
Public property Create() Initializes a new instance of a Button.
Public property Create(text, width, height) Initializes a new instance of a Button.  Parameters include the Text to appear on the button followed by integer values for the button Width and Height.
Public property RemoveGradient Removes the gradient.
Public property SetLinearGradient(mode, startColor, endColor) Creates a linear gradient button background. See LinearGradientMode and Color for lists of possible values.
Public property SetRadialGradient(startColor, endColor) Creates a radial gradient button background. See Color for a list of possible values.
Events
  Name Description
Public event

Click

Occurs when a Button is clicked. See EventArgs for the properties returned by the handler's args parameter.
Inheritance Hierarchy

elsystem.Object

  elsystem.DotNetObject

    elsystem.ELComponent

      elsystem.ELWFComponent

        elsystem.windows.forms.Control

          elsystem.windows.forms.ButtonBase

            elsystem.windows.forms.Button