XmlUrlEditor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a user interface for selecting a URL that indicates the location of an XML file.
public ref class XmlUrlEditor : System::Web::UI::Design::UrlEditor
public class XmlUrlEditor : System.Web.UI.Design.UrlEditor
type XmlUrlEditor = class
inherit UrlEditor
Public Class XmlUrlEditor
Inherits UrlEditor
- Inheritance
Examples
public:
property String^ XmlFileURL
{
[EditorAttribute(XmlUrlEditor::typeid,UITypeEditor::typeid)]
String^ get()
{
return xmlURL;
}
[EditorAttribute(XmlUrlEditor::typeid,UITypeEditor::typeid)]
void set( String^ value )
{
xmlURL = value;
}
}
private:
String^ xmlURL;
[EditorAttribute(typeof(System.Web.UI.Design.XmlUrlEditor), typeof(UITypeEditor))]
public string XmlFileURL
{
get
{
return xmlURL;
}
set
{
xmlURL = value;
}
}
private string xmlURL;
<EditorAttribute(GetType(System.Web.UI.Design.XmlUrlEditor), GetType(UITypeEditor))> _
Public Property XmlFileURL() As String
Get
Return xmlURL
End Get
Set(ByVal Value As String)
xmlURL = Value
End Set
End Property
Private xmlURL As String
Remarks
XmlUrlEditor is a UITypeEditor that provides a dialog for selecting a URL that indicates the location of an XML file.
Constructors
XmlUrlEditor() |
Initializes an instance of the XmlUrlEditor class. |
Properties
Caption |
Gets the caption to display on the selection dialog window. |
Filter |
Gets the file name filter string for the editor. This is used to determine the items that appear in the file list of the dialog box. |
IsDropDownResizable |
Gets a value indicating whether drop-down editors should be resizable by the user. (Inherited from UITypeEditor) |
Options |
Gets the options for the URL builder to use. |
Methods
EditValue(IServiceProvider, Object) |
Edits the value of the specified object using the editor style indicated by the GetEditStyle() method. (Inherited from UITypeEditor) |
EditValue(ITypeDescriptorContext, IServiceProvider, Object) |
Edits the value of the specified object using the editor style provided by the GetEditStyle(ITypeDescriptorContext) method. (Inherited from UrlEditor) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetEditStyle() |
Gets the editor style used by the EditValue(IServiceProvider, Object) method. (Inherited from UITypeEditor) |
GetEditStyle(ITypeDescriptorContext) |
Gets the editing style of the EditValue(ITypeDescriptorContext, IServiceProvider, Object) method. (Inherited from UrlEditor) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetPaintValueSupported() |
Indicates whether this editor supports painting a representation of an object's value. (Inherited from UITypeEditor) |
GetPaintValueSupported(ITypeDescriptorContext) |
Indicates whether the specified context supports painting a representation of an object's value within the specified context. (Inherited from UITypeEditor) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
PaintValue(Object, Graphics, Rectangle) |
Paints a representation of the value of the specified object to the specified canvas. (Inherited from UITypeEditor) |
PaintValue(PaintValueEventArgs) |
Paints a representation of the value of an object using the specified PaintValueEventArgs. (Inherited from UITypeEditor) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
See also
.NET