DekGenius.com
[ Team LiB ] Previous Section Next Section

UrlEditor

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. An example is the System.Web.UI.WebControls.HyperLink.NavigateUrl property of the System.Web.UI.WebControls.HyperLink control. Note that this class, like all type editors, implements the user interface linked to the appropriate property in the Properties Window. The actual construction of the URL is supported by the methods in the UrlBuilder class.

public class UrlEditor : System.Drawing.Design.UITypeEditor {
// Public Constructors
   public UrlEditor( );
// Protected Instance Properties
   protected virtual string Caption{get; }
   protected virtual string Filter{get; }
   protected virtual UrlBuilderOptions Options{get; }
// Public Instance Methods
   public override object EditValue(System.
ComponentModel.ITypeDescriptorContext context, 
        IServiceProvider provider, object value);   // overrides System.Drawing.Design.UITypeEditor 
   public override UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context);
               // overrides System.Drawing.Design.UITypeEditor
}

Hierarchy

System.Object System.Drawing.Design.UITypeEditor UrlEditor

Subclasses

ImageUrlEditor, XmlUrlEditor, XslUrlEditor

    [ Team LiB ] Previous Section Next Section