# C1.Web.Mvc.ColumnBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_ColumnBase" data-uid="C1.Web.Mvc.ColumnBase" class="text-break">ColumnBase Class
</h1>
  <div class="markdown level0 summary"><p>Represents a column on the grid.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ColumnBase</span></div>
      <div class="level2"><a class="xref" href="C1.Web.Mvc.Column.html">Column</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_ColumnBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ColumnBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class ColumnBase</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase__ctor" data-uid="C1.Web.Mvc.ColumnBase.#ctor">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.-ctor.html#C1_Web_Mvc_ColumnBase__ctor">ColumnBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.ColumnBase.html">ColumnBase</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Aggregate" data-uid="C1.Web.Mvc.ColumnBase.Aggregate">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Aggregate.html#C1_Web_Mvc_ColumnBase_Aggregate">Aggregate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Aggregate to display in the group header rows for this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Align" data-uid="C1.Web.Mvc.ColumnBase.Align">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Align.html#C1_Web_Mvc_ColumnBase_Align">Align</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment of items in this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_AllowDragging" data-uid="C1.Web.Mvc.ColumnBase.AllowDragging">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.AllowDragging.html#C1_Web_Mvc_ColumnBase_AllowDragging">AllowDragging</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the user can move this row or column to a new position with the mouse.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_AllowMerging" data-uid="C1.Web.Mvc.ColumnBase.AllowMerging">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.AllowMerging.html#C1_Web_Mvc_ColumnBase_AllowMerging">AllowMerging</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether cells in this row or column can be merged.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_AllowResizing" data-uid="C1.Web.Mvc.ColumnBase.AllowResizing">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.AllowResizing.html#C1_Web_Mvc_ColumnBase_AllowResizing">AllowResizing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the user can resize the row or column with the mouse.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_AllowSorting" data-uid="C1.Web.Mvc.ColumnBase.AllowSorting">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.AllowSorting.html#C1_Web_Mvc_ColumnBase_AllowSorting">AllowSorting</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the user can sort this column by clicking its header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Binding" data-uid="C1.Web.Mvc.ColumnBase.Binding">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Binding.html#C1_Web_Mvc_ColumnBase_Binding">Binding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property this column is bound to.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_CellTemplate" data-uid="C1.Web.Mvc.ColumnBase.CellTemplate">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.CellTemplate.html#C1_Web_Mvc_ColumnBase_CellTemplate">CellTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the cell template in this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_CollapseTo" data-uid="C1.Web.Mvc.ColumnBase.CollapseTo">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.CollapseTo.html#C1_Web_Mvc_ColumnBase_CollapseTo">CollapseTo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the binding of the child column that should remain visible when the group is collapsed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Columns" data-uid="C1.Web.Mvc.ColumnBase.Columns">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Columns.html#C1_Web_Mvc_ColumnBase_Columns">Columns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the grid's column collection under the column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_CssClass" data-uid="C1.Web.Mvc.ColumnBase.CssClass">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.CssClass.html#C1_Web_Mvc_ColumnBase_CssClass">CssClass</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a CSS class name to be used when rendering non-header cells in this row or column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_CssClassAll" data-uid="C1.Web.Mvc.ColumnBase.CssClassAll">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.CssClassAll.html#C1_Web_Mvc_ColumnBase_CssClassAll">CssClassAll</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a CSS class name to use when rendering all cells (data and headers) in the column or row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_DataMap" data-uid="C1.Web.Mvc.ColumnBase.DataMap">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.DataMap.html#C1_Web_Mvc_ColumnBase_DataMap">DataMap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the DataMap used to convert raw values into display values for the column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_DataMapEditor" data-uid="C1.Web.Mvc.ColumnBase.DataMapEditor">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.DataMapEditor.html#C1_Web_Mvc_ColumnBase_DataMapEditor">DataMapEditor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates the type of editor to use when editing data-mapped cells in this column or row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_DataType" data-uid="C1.Web.Mvc.ColumnBase.DataType">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.DataType.html#C1_Web_Mvc_ColumnBase_DataType">DataType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of value stored in this column.Values are coerced into the proper type when editing the grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_DropDownCssClass" data-uid="C1.Web.Mvc.ColumnBase.DropDownCssClass">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.DropDownCssClass.html#C1_Web_Mvc_ColumnBase_DropDownCssClass">DropDownCssClass</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a CSS class name to add to drop-downs in this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Editor" data-uid="C1.Web.Mvc.ColumnBase.Editor">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Editor.html#C1_Web_Mvc_ColumnBase_Editor">Editor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a reference to an input control to be used as a custom cell editor for this.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Format" data-uid="C1.Web.Mvc.ColumnBase.Format">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Format.html#C1_Web_Mvc_ColumnBase_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the format string used to convert raw values into display values for this column (see Globalize).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Header" data-uid="C1.Web.Mvc.ColumnBase.Header">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Header.html#C1_Web_Mvc_ColumnBase_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text displayed in the column header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Height" data-uid="C1.Web.Mvc.ColumnBase.Height">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Height.html#C1_Web_Mvc_ColumnBase_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of this column group</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_InputType" data-uid="C1.Web.Mvc.ColumnBase.InputType">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.InputType.html#C1_Web_Mvc_ColumnBase_InputType">InputType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the &quot;type&quot; attribute of the HTML input element used to edit values in this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_IsCollapsed" data-uid="C1.Web.Mvc.ColumnBase.IsCollapsed">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.IsCollapsed.html#C1_Web_Mvc_ColumnBase_IsCollapsed">IsCollapsed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether column group is collapse.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_IsContentHtml" data-uid="C1.Web.Mvc.ColumnBase.IsContentHtml">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.IsContentHtml.html#C1_Web_Mvc_ColumnBase_IsContentHtml">IsContentHtml</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether cells in this row or column contain HTML content rather than plain text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_IsReadOnly" data-uid="C1.Web.Mvc.ColumnBase.IsReadOnly">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.IsReadOnly.html#C1_Web_Mvc_ColumnBase_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether cells in this row or column can be edited.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_IsRequired" data-uid="C1.Web.Mvc.ColumnBase.IsRequired">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.IsRequired.html#C1_Web_Mvc_ColumnBase_IsRequired">IsRequired</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether values in the column are required.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_IsSelected" data-uid="C1.Web.Mvc.ColumnBase.IsSelected">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.IsSelected.html#C1_Web_Mvc_ColumnBase_IsSelected">IsSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether this row or column is selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Mask" data-uid="C1.Web.Mvc.ColumnBase.Mask">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Mask.html#C1_Web_Mvc_ColumnBase_Mask">Mask</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a mask to be used while editing values in this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_MaxLength" data-uid="C1.Web.Mvc.ColumnBase.MaxLength">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.MaxLength.html#C1_Web_Mvc_ColumnBase_MaxLength">MaxLength</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of characters that the can be entered into the cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_MaxWidth" data-uid="C1.Web.Mvc.ColumnBase.MaxWidth">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.MaxWidth.html#C1_Web_Mvc_ColumnBase_MaxWidth">MaxWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum width of this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_MinWidth" data-uid="C1.Web.Mvc.ColumnBase.MinWidth">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.MinWidth.html#C1_Web_Mvc_ColumnBase_MinWidth">MinWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum width of this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_MultiLine" data-uid="C1.Web.Mvc.ColumnBase.MultiLine">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.MultiLine.html#C1_Web_Mvc_ColumnBase_MultiLine">MultiLine</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the content of cells in this row or column should wrap at new line characters (\n).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Name" data-uid="C1.Web.Mvc.ColumnBase.Name">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Name.html#C1_Web_Mvc_ColumnBase_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Placeholder" data-uid="C1.Web.Mvc.ColumnBase.Placeholder">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Placeholder.html#C1_Web_Mvc_ColumnBase_Placeholder">Placeholder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the place holder for a column which will be displayed when editing an empty cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_QuickAutoSize" data-uid="C1.Web.Mvc.ColumnBase.QuickAutoSize">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.QuickAutoSize.html#C1_Web_Mvc_ColumnBase_QuickAutoSize">QuickAutoSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the grid should optimize performance over precision when auto-sizing this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_SortMemberPath" data-uid="C1.Web.Mvc.ColumnBase.SortMemberPath">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.SortMemberPath.html#C1_Web_Mvc_ColumnBase_SortMemberPath">SortMemberPath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property to use when sorting this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_SortOrder" data-uid="C1.Web.Mvc.ColumnBase.SortOrder">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.SortOrder.html#C1_Web_Mvc_ColumnBase_SortOrder">SortOrder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sort order of the column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Template" data-uid="C1.Web.Mvc.ColumnBase.Template">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Template.html#C1_Web_Mvc_ColumnBase_Template">Template</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a template string to be used for generating the HTML content of data cells in this Column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_TemplateFunction" data-uid="C1.Web.Mvc.ColumnBase.TemplateFunction">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.TemplateFunction.html#C1_Web_Mvc_ColumnBase_TemplateFunction">TemplateFunction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a template function to be used for generating the HTML content of data cells in this Column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Visible" data-uid="C1.Web.Mvc.ColumnBase.Visible">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Visible.html#C1_Web_Mvc_ColumnBase_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether this row or column is visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_Width" data-uid="C1.Web.Mvc.ColumnBase.Width">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.Width.html#C1_Web_Mvc_ColumnBase_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ColumnBase_WordWrap" data-uid="C1.Web.Mvc.ColumnBase.WordWrap">
          <a class="xref" href="C1.Web.Mvc.ColumnBase.WordWrap.html#C1_Web_Mvc_ColumnBase_WordWrap">WordWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether cells in this row or column should wrap their content.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
