ModelValidatingEventArgs ModelValidatingEventArgs ModelValidatingEventArgs ModelValidatingEventArgs Class

Definition

Provides data for the Validating event.

public ref class ModelValidatingEventArgs sealed : System::ComponentModel::CancelEventArgs
public sealed class ModelValidatingEventArgs : System.ComponentModel.CancelEventArgs
type ModelValidatingEventArgs = class
    inherit CancelEventArgs
Public NotInheritable Class ModelValidatingEventArgs
Inherits CancelEventArgs
Inheritance
ModelValidatingEventArgsModelValidatingEventArgsModelValidatingEventArgsModelValidatingEventArgs

Constructors

ModelValidatingEventArgs(ModelBindingExecutionContext, ModelValidationNode) ModelValidatingEventArgs(ModelBindingExecutionContext, ModelValidationNode) ModelValidatingEventArgs(ModelBindingExecutionContext, ModelValidationNode) ModelValidatingEventArgs(ModelBindingExecutionContext, ModelValidationNode)

Initializes a new instance of the ModelValidatingEventArgs class.

Properties

Cancel Cancel Cancel Cancel

Gets or sets a value indicating whether the event should be canceled.

(Inherited from CancelEventArgs)
ModelBindingExecutionContext ModelBindingExecutionContext ModelBindingExecutionContext ModelBindingExecutionContext

Gets the execution context.

ParentNode ParentNode ParentNode ParentNode

Gets the parent model validation node.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to