Bearbeiten

Freigeben über


AutoFieldsGenerator.AutoGenerateEnumFields Property

Definition

Gets or sets a value that indicates whether enumeration fields should be generated by this AutoFieldsGenerator instance.

public:
 property Nullable<bool> AutoGenerateEnumFields { Nullable<bool> get(); void set(Nullable<bool> value); };
public bool? AutoGenerateEnumFields { get; set; }
member this.AutoGenerateEnumFields : Nullable<bool> with get, set
Public Property AutoGenerateEnumFields As Nullable(Of Boolean)

Property Value

true if fields should be generated; otherwise, false.

Remarks

If this flag is not set, the AutoFieldsGenerator instance uses the RenderingCompatibility property of the Control class to determine the default behavior. In that case, AutoGenerateEnumFields is set to true when RenderingCompatibility represents version 4.5 or later, and false in older versions.

Applies to