Name

UrlEditor

Synopsis

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 : Inherits System.Drawing.Design.UITypeEditor
' Public Constructors
   Public Sub New() 
' Protected Instance Properties
   Overridable Protected Property Caption As String  
   Overridable Protected Property Filter As String  
   Overridable Protected Property Options As UrlBuilderOptions  
' Public Instance Methods
   Overrides Public Function EditValue(
        ByVal context As System.ComponentModel.ITypeDescriptorContext, 
        ByVal provider As IServiceProvider, 
        ByVal value As Object) As Object  
   Overrides Public Function GetEditStyle(
        ByVal context As System.ComponentModel.ITypeDescriptorContext)_
    As UITypeEditorEditStyle  
End Class

Hierarchy

System.ObjectSystem.Drawing.Design.UITypeEditor UrlEditor

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.