The ImageButton Control

The properties and events of the ImageButton control are shown in Tables E.23 and E.24.

Table E.23. Properties of the ImageButton Control
Property Description
AlternateText Gets or sets the alternate text displayed in the Image control when the image is unavailable.
CausesValidation Gets or sets a value indicating whether validation is performed when the ImageButton control is clicked.
CommandArgument Gets or sets an optional argument that provides additional information about the CommandName property.
CommandName Gets or sets the command name associated with the ImageButton control.
Font Gets the font properties for the alternate text.
ImageAlign Gets or sets the alignment of the Image control in relation to other elements ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.