This documentation is archived and is not being maintained.

UrlEditor Class

Provides a user interface for selecting a URL.

For a list of all members of this type, see UrlEditor Members.

System.Object
   System.Drawing.Design.UITypeEditor
      System.Web.UI.Design.UrlEditor
         System.Web.UI.Design.ImageUrlEditor
         System.Web.UI.Design.XmlUrlEditor
         System.Web.UI.Design.XslUrlEditor

[Visual Basic]
Public Class UrlEditor
   Inherits UITypeEditor
[C#]
public class UrlEditor : UITypeEditor
[C++]
public __gc class UrlEditor : public UITypeEditor
[JScript]
public class UrlEditor extends UITypeEditor

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

UrlEditor is a UITypeEditor that provides a dialog box for selecting a URL.

Example

[Visual Basic] 
<EditorAttribute(GetType(System.Web.UI.Design.UrlEditor), GetType(UITypeEditor))>  _
Public Property URL() As String
   Get
      Return http_url
   End Get
   Set
      http_url = value
   End Set
End Property

Private http_url As String

[C#] 
[EditorAttribute(typeof(System.Web.UI.Design.UrlEditor), typeof(UITypeEditor))]
public string URL
{
    get
    {
        return http_url;
    }
    set
    {
        http_url = value;
    }
}

private string http_url;

[C++] 
public:
   [EditorAttribute(__typeof(UrlEditor), __typeof(UITypeEditor))]
   __property String* get_URL() {
      return http_url;
   }
   [EditorAttribute(__typeof(UrlEditor), __typeof(UITypeEditor))]
   __property void set_URL(String* value) {
      http_url = value;
   }

private:
   String* http_url;

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter 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)

See Also

UrlEditor Members | System.Web.UI.Design Namespace

Show: