ImageUrlEditor

ImageUrlEditor

System.Web.UI.Design (system.design.dll)class

This class provides a System.Drawing.Design.UITypeEditor that can be used when modifying properties that correspond to Internet URLs. This class extends on the basic UrlEditor class and is customized for creating URLs that point to image files. The differences are minor: the Filter property is overridden to provide the "*.gif; *.jpg; *.jpeg; *.bmp; *.wmf; *.png" file filter, and the Caption of the designer window is modified to "Select Image File." This class is used, for example, by the ImageUrl property of the System.Web.UI.WebControls.HyperLink control.

public class ImageUrlEditor : UrlEditor { // Public Constructors    public ImageUrlEditor( ); // Protected Instance Properties    protected override string Caption{get; }         // overrides UrlEditor    protected override string Filter{get; }          // overrides UrlEditor }

Hierarchy

System.Object System.Drawing.Design.UITypeEditor UrlEditor ImageUrlEditor



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net