NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ImageButton Properties

The properties of the ImageButton class are listed below. For a complete list of ImageButton class members, see the ImageButton Members topic.

Public:

AccessKey (inherited from WebControl) AccessKey property. The keyboard shortcut used by the control.
AlternateText (inherited from Image) AlternateText property. The text displayed when the image fails to load.
Attributes (inherited from WebControl) Attributes collection. Low-level access to arbitrary attributes.
BackColor (inherited from WebControl) BackColor property. The background color of the control.
BorderColor (inherited from WebControl) BorderColor property. The color of the border around the control.
BorderStyle (inherited from WebControl) BorderStyle property. The style of border around the control.
BorderWidth (inherited from WebControl) BorderWidth property. The width of the border around the control.
ClientID (inherited from Control) [To be supplied.]
Command Command property. A command associated with the ImageButton is propogated in the OnCommand event along with the CommandArgument property.
CommandArgument CommandArgument property. An argument which is propogated in the OnCommand event with the associated Command property.
Controls (inherited from Control) [To be supplied.]
CssClass (inherited from WebControl) CssClass property. The CSS Class name associated with the control.
DataBindings (inherited from Control) [To be supplied.]
Enabled (inherited from WebControl) Enabled property. The enabled state of the control.
Font (inherited from WebControl) Font property. The font used for the text within the control.
ForeColor (inherited from WebControl) ForeColor property. The foreground color of the control. Typically determines the color of the text within the control.
Height (inherited from WebControl) Height property. The height of the control.
ID (inherited from Control) [To be supplied.]
ImageAlign (inherited from Image) ImageAlign property. Determines the alignment of the image within the text flow.
ImageUrl (inherited from Image) ImageUrl property. The Url reference to the image to display.
MaintainState (inherited from Control) [To be supplied.]
NamingContainer (inherited from Control) [To be supplied.]
Page (inherited from Control) [To be supplied.]
Parent (inherited from Control) [To be supplied.]
Site (inherited from Control) [To be supplied.]
Style (inherited from WebControl) CssStyle collection. Low-level access to arbitrary CSS styles.
TabIndex (inherited from WebControl) TabIndex property. The tab order of the control.
ToolTip (inherited from WebControl) Tooltip property. The tooltip displayed when the mouse if over the control.
UniqueID (inherited from Control) [To be supplied.]
Visible (inherited from Control) [To be supplied.]
Width (inherited from WebControl) Width property. The width of the control.

Protected:

AllowsChildren (inherited from Control) [To be supplied.]
ChildControlsCreated (inherited from Control) [To be supplied.]
Context (inherited from Control) [To be supplied.]
HasChildViewState (inherited from Control) [To be supplied.]
State (inherited from Control) [To be supplied.]
StateBagIgnoresCase (inherited from WebControl) [To be supplied.]
TagName Override to return INPUT instead of IMG.

See Also

ImageButton Class | System.Web.UI.WebControls Namespace