Editar

Compartilhar via


MailDefinitionBodyFileNameEditor Class

Definition

Provides an editor for selecting message body files in a MailDefinition object.

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

Remarks

The MailDefinitionBodyFileNameEditor class provides a user interface for selecting a file for the BodyFileName property of a MailDefinition object. The BodyFileName specifies the file that contains the email message body.

The MailDefinition objects define the content and format of the email notification messages that are sent by controls. For example, the CreateUserWizard, ChangePassword and PasswordRecovery controls use the MailDefinitionBodyFileNameEditor.

The MailDefinitionBodyFileNameEditor is invoked, for example, by selecting the ellipsis () button on the BodyFileName property, under MailDefinition, in the Properties grid of the visual designer.

The Caption property specifies the caption that is to appear on the MailDefinitionBodyFileNameEditor form. The Filter property returns the list of file types that is to be accepted by the MailDefinitionBodyFileNameEditor.

Constructors

MailDefinitionBodyFileNameEditor()

Initializes a new instance of the MailDefinitionBodyFileNameEditor class.

Properties

Caption

Gets the caption to appear on the MailDefinitionBodyFileNameEditor form.

Filter

Gets the list of file types for the MailDefinitionBodyFileNameEditor object to accept.

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.

(Inherited from UrlEditor)

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