
XslUrlEditor | 699
UI.Design
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
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.
Hierarchy
System.Object ➝ System.Drawing.Design.UITypeEditor ➝ UrlEditor ➝ XmlUrlEditor
XslUrlEditor
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 XSL transform files. The differences
are minor: the ImageUrlEditor.Filter property is overridden to provide the “*.xsl; *.xslt” file
filter and the ImageUrlEditor.Caption of the designer window is modified to “Select XSL
Transform File.” This class is used, for example, by the TransformSource property of the
System.Web.UI.WebControls.Xml control.
Hierarchy
System.Object ➝ System.Drawing.Design.UITypeEditor ➝ UrlEditor ➝ XslUrlEditor
public class XmlUrlEditor : UrlEditor {
// Public Constructors
public XmlUrlEditor();
// Protected Instance Properties
protected override string Caption{get; } // overrides ...