BindingBehavior Enumeration

 

Enumerates model-binding behavior options.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

type BindingBehavior

Member nameDescription
Never

The property should be excluded from model binding.

Optional

The property should be model bound if a value is available from the value provider.

Required

The property is required for model binding.

Return to top
Show: