[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.ColumnBaseTagHelper-1

ColumnBaseTagHelper<TControl> Class

ITagHelper implementation for ColumnBase.

Inheritance
BaseTagHelper<TControl>
ColumnBaseTagHelper<TControl>
Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class ColumnBaseTagHelper<TControl> : SettingTagHelper<TControl>, ITagHelper, ITagHelperComponent where TControl : ColumnBase
Type Parameters
Name Description
TControl

Constructors

Name Description
ColumnBaseTagHelper()

Properties

Name Description
Aggregate

Configurates Aggregate. Sets the Aggregate to display in the group header rows for this column.

Align

Configurates Align. Sets the horizontal alignment of items in this column.

AllowDragging

Configurates AllowDragging. Sets whether the user can move this row or column to a new position with the mouse.

AllowMerging

Configurates AllowMerging. Sets whether cells in this row or column can be merged.

AllowResizing

Configurates AllowResizing. Sets a value that indicates whether the user can resize the row or column with the mouse.

AllowSorting

Configurates AllowSorting. Sets whether the user can sort this column by clicking its header.

Binding

Configurates Binding. Sets the name of the property this column is bound to.

CollapseTo

Configurates CollapseTo. Sets the binding of the child column that should remain visible when the group is collapsed.

CollectionName

Gets the collection name.

CssClass

Configurates CssClass. Sets a CSS class name to be used when rendering non-header cells in this row or column.

CssClassAll

Configurates CssClassAll. Sets a CSS class name to use when rendering all cells (data and headers) in the column or row.

DataMapEditor

Configurates DataMapEditor. Sets a value that indicates the type of editor to use when editing data-mapped cells in this column or row.

DataType

Configurates DataType. Sets the type of value stored in this column.Values are coerced into the proper type when editing the grid.

DropDownCssClass

Configurates DropDownCssClass. Sets a CSS class name to add to drop-downs in this column.

Editor

Configurates Editor. Sets a reference to an input control to be used as a custom cell editor for this.

Format

Configurates Format. Sets the format string used to convert raw values into display values for this column (see Globalize).

Header

Configurates Header. Sets the text displayed in the column header.

Height

Configurates Height. Sets the height of this column group

InputType

Configurates InputType. Sets the "type" attribute of the HTML input element used to edit values in this column.

IsCollapsed

Configurates IsCollapsed. Sets whether column group is collapse.

IsContentHtml

Configurates IsContentHtml. Sets whether cells in this row or column contain HTML content rather than plain text.

IsReadOnly

Configurates IsReadOnly. Sets whether cells in this row or column can be edited.

IsRequired

Configurates IsRequired. Sets a value that determines whether values in the column are required.

IsSelected

Configurates IsSelected. Sets whether this row or column is selected.

Mask

Configurates Mask. Sets a mask to be used while editing values in this column.

MaxLength

Configurates MaxLength. Sets the maximum number of characters that the can be entered into the cell.

MaxWidth

Configurates MaxWidth. Sets the maximum width of this column.

MinWidth

Configurates MinWidth. Sets the minimum width of this column.

MultiLine

Configurates MultiLine. Sets a value that indicates whether the content of cells in this row or column should wrap at new line characters (\n).

Name

Configurates Name. Sets the name of this column.

Placeholder

Configurates Placeholder. Sets the place holder for a column which will be displayed when editing an empty cell.

QuickAutoSize

Configurates QuickAutoSize. Sets a value that determines whether the grid should optimize performance over precision when auto-sizing this column.

SortMemberPath

Configurates SortMemberPath. Sets the name of the property to use when sorting this column.

Template

Configurates Template. Sets a template string to be used for generating the HTML content of data cells in this Column.

TemplateFunction

Configurates TemplateFunction. Sets a template function to be used for generating the HTML content of data cells in this Column.

Visible

Configurates Visible. Sets whether this row or column is visible.

Width

Configurates Width. Sets the width of this column.

WordWrap

Configurates WordWrap. Sets whether cells in this row or column should wrap their content.