ImageUrlEditor Class
Provides a user interface for selecting a URL to an image.
For a list of all members of this type, see ImageUrlEditor Members.
System.Object
System.Drawing.Design.UITypeEditor
System.Web.UI.Design.UrlEditor
System.Web.UI.Design.ImageUrlEditor
[Visual Basic] Public Class ImageUrlEditor Inherits UrlEditor [C#] public class ImageUrlEditor : UrlEditor [C++] public __gc class ImageUrlEditor : public UrlEditor [JScript] public class ImageUrlEditor extends UrlEditor
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
ImageUrlEditor is a UITypeEditor that provides a dialog box for selecting a URL property that references an image.
Example
[Visual Basic] <EditorAttribute(GetType(System.Web.UI.Design.ImageUrlEditor), GetType(UITypeEditor))> _ Public Property imageURL() As String Get Return imgURL End Get Set(ByVal Value As String) imgURL = Value End Set End Property Private imgURL As String [C#] [EditorAttribute(typeof(System.Web.UI.Design.ImageUrlEditor), typeof(UITypeEditor))] public string imageURL { get { return imgURL; } set { imgURL = value; } } private string imgURL; [C++] public: [EditorAttribute(__typeof(ImageUrlEditor), __typeof(UITypeEditor))] __property String* get_imageURL() { return imgURL; } [EditorAttribute(__typeof(ImageUrlEditor), __typeof(UITypeEditor))] __property void set_imageURL(String* value) { imgURL = value; } private: String* imgURL;
[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
Requirements
Namespace: System.Web.UI.Design
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
Assembly: System.Design (in System.Design.dll)