C# Class OKHOSTING.UI.Net4.WebForms.Controls.ImageButton

It represents a button with a background image Representa un boton con una imagen de fondo

Inheritance: System.Web.UI.WebControls.ImageButton, IImageButton
Mostra file Open project: okhosting/OKHOSTING.UI

Private Properties

Property Type Description

Public Methods

Method Description
LoadFromFile ( string filePath ) : void

Loads from file. Carga la imagen del control desde una ruta de archivo.

LoadFromStream ( Stream stream ) : void
LoadFromStream ( string v ) : void

Loads from stream.

LoadFromUrl ( System url ) : void

Loads from URL. Carga la imagen desde una direccion de internet.

Protected Methods

Method Description
Raise_Click ( ) : void

Raises the click. Es donde se proboca el evento clic.

Method Details

LoadFromFile() public method

Loads from file. Carga la imagen del control desde una ruta de archivo.

public LoadFromFile ( string filePath ) : void
filePath string File path. /// La ruta del archivo. ///
return void

LoadFromStream() public method

public LoadFromStream ( Stream stream ) : void
stream Stream
return void

LoadFromStream() public method

Loads from stream.
public LoadFromStream ( string v ) : void
v string V.
return void

LoadFromUrl() public method

Loads from URL. Carga la imagen desde una direccion de internet.

public LoadFromUrl ( System url ) : void
url System URL.
return void

Raise_Click() protected method

Raises the click. Es donde se proboca el evento clic.

protected Raise_Click ( ) : void
return void