Redigera

Dela via


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
ModelValidatingEventArgs

Constructors

ModelValidatingEventArgs(ModelBindingExecutionContext, ModelValidationNode)

Initializes a new instance of the ModelValidatingEventArgs class.

Properties

Cancel

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

(Inherited from CancelEventArgs)
ModelBindingExecutionContext

Gets the execution context.

ParentNode

Gets the parent model validation node.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to