ImageButton Konstruktor

Definice

Inicializuje novou instanci ImageButton třídy .

public:
 ImageButton();
public ImageButton ();
Public Sub New ()

Příklady

Následující příklad ukazuje, jak vytvořit a inicializovat novou instanci ImageButton třídy .

void Page_Load(Object sender, EventArgs e)
{
   ImageButton img_button = new ImageButton();
}
Sub Page_Load(sender As Object, e As EventArgs)
    Dim img_button As New ImageButton()
End Sub

Poznámky

Pomocí tohoto konstruktoru můžete vytvořit a inicializovat novou instanci ImageButton třídy .

Platí pro

Viz také