Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BindingBehavior Enumeration
Collapse the table of content
Expand the table of content

BindingBehavior Enumeration

.NET Framework 4.6 and 4.5

Enumerates model-binding behavior options.

Namespace:  System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

public enum BindingBehavior

Member nameDescription
NeverThe property should be excluded from model binding.
OptionalThe property should be model bound if a value is available from the value provider.
RequiredThe property is required for model binding.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft