ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 506
نمايش فراداده

XmlUrlEditor

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. This class extends on the basic UrlEditor and is customized for creating URLs that point to XML files. The differences are minor: the ImageUrlEditor.Filter property is overridden to provide the "*.xml" file filter and the ImageUrlEditor.Caption of the designer window is modified to "Select XML File." This class is used, for example, by the DocumentSource property of the System.Web.UI.WebControls.Xml control.

public class 

XmlUrlEditor : UrlEditor { // Public Constructors public

XmlUrlEditor ( ); // Protected Instance Properties protected override string

Caption {get; } // overrides UrlEditor protected override string

Filter {get; } // overrides UrlEditor protected override UrlBuilderOptions

Options {get; } // overrides UrlEditor }

Hierarchy

System.Object System.Drawing.Design.UITypeEditor UrlEditor XmlUrlEditor