System.Web.UI.Design.XsdSchemaFileEditor Class

Provides a design-time user interface for selecting an XML schema definition file.

See Also: XsdSchemaFileEditor Members


public class XsdSchemaFileEditor : UrlEditor


An System.Web.UI.Design.XsdSchemaFileEditor object is used at design time to select and edit a URL for an XML schema definition file (.xsd), and to assign the URL to a control property.

Use the System.ComponentModel.EditorAttribute attribute to associate the System.Web.UI.Design.XsdSchemaFileEditor with a property. When the associated property is edited on the design surface, the designer host calls the erload:System.Web.UI.Design.UrlEditor.EditValue method. The erload:System.Web.UI.Design.UrlEditor.EditValue method uses the erload:System.Web.UI.Design.UrlBuilder.BuildUrl method, which in turn displays a user interface for selecting the URL, and then returns the URL that is selected by the user. The erload:System.Web.UI.Design.UrlEditor.GetEditStyle method indicates the display style of the user interface.

Derive a class from the System.Web.UI.Design.XsdSchemaFileEditor to define a custom editor for an XML schema URL property. For example, a derived class can override the erload:System.Web.UI.Design.UrlEditor.EditValue method, and then call the erload:System.Web.UI.Design.UrlBuilder.BuildUrl method with a custom XsdSchemaFileEditor.Filter or XsdSchemaFileEditor.Caption value.


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