June 2002
Intermediate to advanced
816 pages
28h 12m
English
ImageUrlEditor
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;
*.pgn” 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 : Inherits UrlEditor ' Public Constructors Public Sub New() ' Protected Instance Properties Overrides Protected Property Caption As String Overrides Protected Property Filter As String End Class
System.Object→System.Drawing.Design.UITypeEditor→UrlEditor→ ImageUrlEditor
Read now
Unlock full access