ImageUrlEditor Classe
Definição
Fornece uma interface do usuário para selecionar uma URL que faz referência a uma imagem.Provides a user interface for selecting a URL that references an image.
public ref class ImageUrlEditor : System::Web::UI::Design::UrlEditor
public class ImageUrlEditor : System.Web.UI.Design.UrlEditor
type ImageUrlEditor = class
inherit UrlEditor
Public Class ImageUrlEditor
Inherits UrlEditor
- Herança
Exemplos
public:
property String^ imageURL
{
[EditorAttribute(ImageUrlEditor::typeid,UITypeEditor::typeid)]
String^ get()
{
return imgURL;
}
[EditorAttribute(ImageUrlEditor::typeid,UITypeEditor::typeid)]
void set( String^ value )
{
imgURL = value;
}
}
private:
String^ imgURL;
[EditorAttribute(typeof(System.Web.UI.Design.ImageUrlEditor), typeof(UITypeEditor))]
public string imageURL
{
get
{
return imgURL;
}
set
{
imgURL = value;
}
}
private string imgURL;
<EditorAttribute(GetType(System.Web.UI.Design.ImageUrlEditor), GetType(UITypeEditor))> _
Public Property imageURL() As String
Get
Return imgURL
End Get
Set(ByVal Value As String)
imgURL = Value
End Set
End Property
Private imgURL As String
Comentários
ImageUrlEditor é um UITypeEditor que fornece uma caixa de diálogo para selecionar uma propriedade de URL que faz referência a uma imagem.ImageUrlEditor is a UITypeEditor that provides a dialog box for selecting a URL property that references an image.
Construtores
| ImageUrlEditor() |
Inicializa uma nova instância da classe ImageUrlEditor.Initializes a new instance of the ImageUrlEditor class. |
Propriedades
| Caption |
Obtém a legenda a ser exibida na janela de diálogo de seleção.Gets the caption to display on the selection dialog window. |
| Filter |
Obtém a cadeia de caracteres de filtro de nome de arquivo para o editor.Gets the file name filter string for the editor. Essa cadeia de caracteres é usada para determinar os itens que aparecem na lista de arquivos da caixa de diálogo.This string is used to determine the items that appear in the file list of the dialog box. |
| IsDropDownResizable |
Obtém um valor que indica se os editores de lista suspensa devem ser redimensionáveis pelo usuário.Gets a value indicating whether drop-down editors should be resizable by the user. (Herdado de UITypeEditor) |
| Options |
Obtém as opções do construtor de URL a ser usado.Gets the options for the URL builder to use. (Herdado de UrlEditor) |
Métodos
| EditValue(IServiceProvider, Object) |
Edita o valor do objeto especificado usando o estilo de editor indicado pelo método GetEditStyle().Edits the value of the specified object using the editor style indicated by the GetEditStyle() method. (Herdado de UITypeEditor) |
| EditValue(ITypeDescriptorContext, IServiceProvider, Object) |
Edita o valor do objeto especificado usando o estilo de editor fornecido pelo método GetEditStyle(ITypeDescriptorContext).Edits the value of the specified object using the editor style provided by the GetEditStyle(ITypeDescriptorContext) method. (Herdado de UrlEditor) |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetEditStyle() |
Obtém o estilo de editor usado pelo método EditValue(IServiceProvider, Object).Gets the editor style used by the EditValue(IServiceProvider, Object) method. (Herdado de UITypeEditor) |
| GetEditStyle(ITypeDescriptorContext) |
Obtém o estilo de edição do método EditValue(ITypeDescriptorContext, IServiceProvider, Object).Gets the editing style of the EditValue(ITypeDescriptorContext, IServiceProvider, Object) method. (Herdado de UrlEditor) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetPaintValueSupported() |
Indica se esse editor é compatível com pintura de uma representação do valor de um objeto.Indicates whether this editor supports painting a representation of an object's value. (Herdado de UITypeEditor) |
| GetPaintValueSupported(ITypeDescriptorContext) |
Indica se o contexto especificado é compatível com pintura de uma representação do valor de um objeto no contexto especificado.Indicates whether the specified context supports painting a representation of an object's value within the specified context. (Herdado de UITypeEditor) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| PaintValue(Object, Graphics, Rectangle) |
Pinta uma representação do valor do objeto especificado na tela especificada.Paints a representation of the value of the specified object to the specified canvas. (Herdado de UITypeEditor) |
| PaintValue(PaintValueEventArgs) |
Pinta uma representação do valor de um objeto usando o PaintValueEventArgs especificado.Paints a representation of the value of an object using the specified PaintValueEventArgs. (Herdado de UITypeEditor) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |