[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.Column

Column Class

Represents a grid column.

Inheritance
Column
Namespace: C1.WPF.FlexGrid
Assembly: C1.WPF.FlexGrid.4.6.2.dll
Syntax
public class Column : RowCol
Remarks
<p>
    <xref href="C1.WPF.FlexGrid.Column" data-throw-if-not-resolved="false"></xref> objects do not have any visual representation.</p>
<p>Rows and columns provide properties that determine the appearance and 

content of cell objects which are the only objects in the C1FlexGrid that do have a visual representation.

Constructors

Name Description
Column()

Initializes a new instance of a Column object.

Properties

Name Description
ActualWidth

Gets the rendering width of this column in pixels.

AllowSorting

Gets or sets a value that indicates whether the user can sort this column by clicking the cell header.

AutoGenerated

Gets or sets a value that indicates whether this column was automatically generated by the grid (see the AutoGenerateColumns property.

Binding

Gets or sets the Binding used to connect this column with the items in the grid's ItemsSource.

BoundPropertyName

Gets the name of the property that this column is currently bound to.

CellEditingTemplate

Gets or sets the template used to display the contents of a cell that is in editing mode.

CellTemplate

Gets or sets the template used to display the contents of a cell that is not in editing mode.

ColumnName

Gets or sets a value used as an identifier for the column.

DataType

Gets the type of data stored in this column.

FooterCellStyle

Gets or sets a CellStyle that defines the appearance of the column footer cells in this column.

Format

Gets or sets a string used to format values within cells in this column.

Grid

Gets the C1FlexGrid that this column belongs to.

GridPanel

Gets the GridPanel that this column belongs to.

GroupAggregate

Gets or sets the type of aggregate to include in group headers.

Header

Gets or sets a value used as a caption in the column header cells.

HeaderTemplate

Gets or sets the template used to display the contents of column header cells.

Index

Gets the index of this column in the grid's Columns collection.

Left

Gets the position of the left side of this column, in pixels, relative to the grid.

MaxWidth

Gets or sets the maximum width of this column, in pixels (this value is used only for star-sized columns).

MinWidth

Gets or sets the minimum width of this column, in pixels (this value is used only for star-sized columns).

PropertyInfo

Gets or sets a PropertyInfo object used for binding the column to items in the data source.

Right

Gets the position of the right side of this column, in pixels, relative to the grid.

ToolTip

Gets or sets the tooltip text for the column header cells.

ValueConverter

Gets or sets an IValueConverter associated with this column's Binding.

Width

Gets or sets the width of this column, in pixels (set to GridLength.Auto to use the default width).

Methods

Name Description
GetCultureInfo()

Get UI culture based on Language property.

OnPropertyChanged(string)

Raises the PropertyChanged event on the parent columns collection.