Login.ValidatorTextStyle Propriedade

Definição

Obtém uma referência a uma coleção de propriedades Style que definem a aparência das mensagens de erro associadas aos validadores usados pelo controle Login.Gets a reference to a collection of Style properties that define the appearance of error messages associated with validators used by the Login control.

public:
 property System::Web::UI::WebControls::Style ^ ValidatorTextStyle { System::Web::UI::WebControls::Style ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.Style ValidatorTextStyle { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.ValidatorTextStyle : System.Web.UI.WebControls.Style
Public ReadOnly Property ValidatorTextStyle As Style

Valor da propriedade

Style

Um valor Style que contém as configurações de estilo.A Style containing the style settings.

Atributos

Comentários

A tabela a seguir lista as configurações de estilo que estão disponíveis para personalização com a ValidatorTextStyle propriedade.The following table lists the style settings that are available for customization with the ValidatorTextStyle property.

ConfiguraçãoSetting DescriçãoDescription
BackColor A cor por trás das mensagens de erro.The color behind the error messages. A cor pode ser qualquer uma das Color Propriedades.The color can be any of the Color properties.
BorderColor A cor da borda ao contrário das mensagens de erro.The color of the border around the error messages. A cor pode ser qualquer uma das Color Propriedades.The color can be any of the Color properties.
BorderStyle O estilo da borda ao contrário das mensagens de erro.The style of the border around the error messages. O estilo pode ser "nenhum", "pontilhado", "Tracejado", "sólido", "duplo", "ranhura", "saliência", "Inserir" ou "início".The style can be "None", "Dotted", "Dashed", "Solid", "Double", "Groove", "Ridge", "Inset", or "Outset". O padrão é "NotSet".The default is "NotSet". Alguns estilos não aparecem claramente, a menos BorderWidth que o valor seja maior que 2.Some styles do not show up clearly unless the BorderWidth value is greater than 2.
BorderWidth A largura da borda ao contrário das mensagens de erro.The width of the border around the error messages.
CssClass A classe CSS (folha de estilos em cascata) usada para renderizar as mensagens de erro.The cascading style sheet (CSS) class used to render the error messages. Se outras configurações forem especificadas, elas substituirão uma configuração de folha de estilo.If other settings are specified, they will override a style sheet setting.
Font-Bold true para exibir o texto da mensagem de erro em negrito.true to display the error message text in bold type.
Font-Italic true para exibir o texto da mensagem de erro em itálico.true to display the error message text in italic type.
Font-Names O nome da face da fonte.The name of the font face.
Font-Overline true para exibir o texto da mensagem de erro com uma linha acima dela.true to display the error message text with a line above it.
Font-Size O tamanho do texto nas mensagens de erro como um FontUnit objeto.The size of the text in the error messages as a FontUnit object.
Font-Strikeout true para exibir o texto da mensagem de erro como riscado.true to display the error message text as crossed out.
Font-Underline true para exibir o texto da mensagem de erro com um sublinhado.true to display the error message text with an underline.
ForeColor A cor do texto nas mensagens de erro.The color of the text in the error messages. A cor pode ser qualquer uma das Color Propriedades.The color can be any of the Color properties.
Height Um Unit objeto que representa a altura das mensagens de erro.A Unit object that represents the height of the error messages.
Width Um Unit objeto que representa a largura das mensagens de erro.A Unit object that represents the width of the error messages.

Aplica-se a