Gets or sets a value that determines whether C1BoundField objects are generated and displayed automatically.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[DefaultValueAttribute(true)]
[C1CategoryAttribute("Category.Behavior")]
[LayoutAttribute(LayoutType.Behavior)]
[JsonAttribute(true, true, true)]
public virtual bool AutoGenerateColumns { get; set; }
Visual Basic
<DefaultValueAttribute(True)> _
<C1CategoryAttribute("Category.Behavior")> _
<LayoutAttribute(LayoutType.Behavior)> _
<JsonAttribute(True, True, True)> _
Public Overridable Property AutoGenerateColumns As Boolean
	Get
	Set

Field Value

Set this property to True to automatically display and create C1BoundField objects. The default value is True.

See Also