This documentation is archived and is not being maintained.

XmlFileEditor Class

Provides a user interface for selecting an XML file using a standard OpenFileDialog box.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

'Declaration
Public Class XmlFileEditor
	Inherits UITypeEditor
'Usage
Dim instance As XmlFileEditor

public class XmlFileEditor extends UITypeEditor
public class XmlFileEditor extends UITypeEditor
Not applicable.

XmlFileEditor is a UITypeEditor that provides a dialog for selecting an XML file for a file name property.

<EditorAttribute(GetType(System.Web.UI.Design.XmlFileEditor), GetType(UITypeEditor))>  _
Public Property XmlFile() As String
   Get
      Return xml_
   End Get
   Set
      xml_ = value
   End Set
End Property

Private xml_ As String

/** @attribute EditorAttribute(System.Web.UI.Design.XmlFileEditor.class,
    UITypeEditor.class)
 */
/** @property 
 */
public String get_XmlFile()
{
    return xml_;
} //get_XmlFile

/** @property 
 */
public void set_XmlFile(String value)
{
    xml_ = value;
} //set_XmlFile

private String xml_;

System.Object
   System.Drawing.Design.UITypeEditor
    System.Web.UI.Design.XmlFileEditor

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Show: