Breyta

Deila með


XslUrlEditor Class

Definition

Provides a user interface for selecting an URL that indicates the location of an XSL file.

public ref class XslUrlEditor : System::Web::UI::Design::UrlEditor
public class XslUrlEditor : System.Web.UI.Design.UrlEditor
type XslUrlEditor = class
    inherit UrlEditor
Public Class XslUrlEditor
Inherits UrlEditor
Inheritance

Examples

public:
   property String^ XslFileURL 
   {
      [EditorAttribute(XslUrlEditor::typeid,UITypeEditor::typeid)]
      String^ get()
      {
         return xslURL;
      }

      [EditorAttribute(XslUrlEditor::typeid,UITypeEditor::typeid)]
      void set( String^ value )
      {
         xslURL = value;
      }
   }

private:
   String^ xslURL;
[EditorAttribute(typeof(System.Web.UI.Design.XslUrlEditor), typeof(UITypeEditor))]
public string XslFileURL
{
    get
    {
        return xslURL;
    }
    set
    {
        xslURL = value;
    }
}

private string xslURL;
<EditorAttribute(GetType(System.Web.UI.Design.XslUrlEditor), GetType(UITypeEditor))> _
Public Property XslFileURL() As String
    Get
        Return xslURL
    End Get
    Set(ByVal Value As String)
        xslURL = Value
    End Set
End Property

Private xslURL As String

Remarks

XslUrlEditor is a UITypeEditor that provides a dialog for selecting a URL that indicates the location of an XSL file.

Constructors

XslUrlEditor()

Initializes an instance of the XslUrlEditor 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