MaskedTextBoxArray.Validated Evento

Definição

Ocorre quando a validação do controle é concluída.Occurs when the control is finished validating.

public:
 event EventHandler ^ Validated;
public event EventHandler Validated;
member this.Validated : EventHandler 
Public Custom Event Validated As EventHandler 
Public Event Validated As EventHandler 

Tipo de evento

EventHandler

Comentários

Quando você altera o foco usando o teclado (TAB, SHIFT+TAB etc.), chamando os métodos Select ou SelectNextControl, ou definindo a propriedade ActiveControl como o formulário atual, os eventos de foco ocorrem na seguinte ordem:When you change the focus by using the keyboard (TAB, SHIFT+TAB, and so on), by calling the Select or SelectNextControl methods, or by setting the ActiveControl property to the current form, focus events occur in the following order:

Enter

GotFocus

Leave

Validating

Validated

LostFocus

Quando você altera o foco usando o mouse ou chamando o método Focus, os eventos de foco ocorrem na seguinte ordem:When you change the focus by using the mouse or by calling the Focus method, focus events occur in the following order:

Enter

GotFocus

LostFocus

Leave

Validating

Validated

Se a CausesValidation propriedade for definida como false , os Validating Validated eventos e serão suprimidos.If the CausesValidation property is set to false, the Validating and Validated events are suppressed.

Se a Cancel propriedade de CancelEventArgs for definida como true no delegado de Validating evento, todos os eventos que normalmente ocorrerão depois que o Validating evento forem suprimidos.If the Cancel property of the CancelEventArgs is set to true in the Validating event delegate, all events that would usually occur after the Validating event are suppressed.

Para obter mais informações sobre como lidar com eventos, consulte manipulando e gerando eventos.For more information about how to handle events, see Handling and Raising Events.

Observação

As funções e os objetos no namespace Microsoft.VisualBasic.Compatibility.VB6 são fornecidos para uso pelas ferramentas para atualização do Visual Basic 6.0 para o Visual Basic.Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. Na maioria dos casos, essas funções e objetos duplicam a funcionalidade que é possível encontrar em outros namespaces no .NET FrameworkIn most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. Eles apenas são necessários quando o modelo de código do Visual Basic 6.0 difere significativamente da implementação do .NET Framework.They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Aplica-se a

Confira também