ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









Imagedisposable

System.Web.UI.WebControls (system.web.dll)class

This class represents an Image control on a Web Forms page, which is
used to display any supported graphic (including
.jpg, .bmp,
.gif, and .png files). To
specify the picture that should appear in this control, set a URL to
the file by using the ImageUrl property. You can
specify a string of AlternateText, which will be
displayed in browsers that do not support graphics or if the picture
file is not available. You can also set a Font for
the alternate text. Many browsers also show this text as a tooltip
when the user positions the mouse over the image.

An Image control cannot capture mouse clicks. To
respond to image click events, use the ImageButton
control instead.

public class 

Image : WebControl {
// Public Constructors
public

Image ( );
// Public Instance Properties
public virtual string

AlternateText {set; get; }
public override bool

Enabled {set; get; } // overrides WebControl
public override FontInfo

Font {get; } // overrides WebControl
public virtual ImageAlign

ImageAlign {set; get; }
public virtual string

ImageUrl {set; get; }
// Protected Instance Methods
protected override void

AddAttributesToRender (System.Web.UI.HtmlTextWriter

writer ); // overrides WebControl
protected override void

RenderContents (System.Web.UI.HtmlTextWriter

writer ); // overrides WebControl
}



Hierarchy


System.Object
System.Web.UI.Control(System.ComponentModel.IComponent,
System.IDisposable
,
System.Web.UI.IParserAccessor,
System.Web.UI.IDataBindingsAccessor)

WebControl(System.Web.UI.IAttributeAccessor)
Image

Subclasses


ImageButton


/ 873