HiddenInputAttribute Clase

Definición

Indica la propiedad asociada o todas las propiedades con el tipo asociado deben editarse mediante un <elemento de entrada> de tipo "oculto".

public ref class HiddenInputAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class HiddenInputAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type HiddenInputAttribute = class
    inherit Attribute
Public NotInheritable Class HiddenInputAttribute
Inherits Attribute
Herencia
HiddenInputAttribute
Atributos

Comentarios

Al invalidar un HiddenInputAttribute heredado de una clase base, debe aplicar ambos [HiddenInput(DisplayValue = true)] (si el atributo heredado tenía DisplayValue = false) y un con algún UIHintAttribute valor distinto de "HiddenInput".

Constructores

HiddenInputAttribute()

Crea una nueva instancia de la clase HiddenInputAttribute.

Propiedades

DisplayValue

Obtiene o establece un valor que indica si se debe mostrar el valor, así como proporcionar un elemento de entrada> oculto<. El valor predeterminado es true.

Se aplica a