BindingBehavior BindingBehavior BindingBehavior BindingBehavior Enum

Definition

Enumerates model-binding behavior options.

public enum class BindingBehavior
public enum BindingBehavior
type BindingBehavior = 
Public Enum BindingBehavior
Inheritance
BindingBehaviorBindingBehaviorBindingBehaviorBindingBehavior

Fields

Never Never Never Never 1

The property should be excluded from model binding.

Optional Optional Optional Optional 0

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

Required Required Required Required 2

The property is required for model binding.

Applies to