[]
        
(Showing Draft Content)

C1.WPF.Grid.GridLinkedCellFactory

GridLinkedCellFactory Class

This cell factory can be used to add features over an existing cell factory, for scenarios where inheriting is not allowed.

Namespace: C1.WPF.Grid
Assembly: C1.WPF.Grid.dll
Syntax
public class GridLinkedCellFactory : GridCellFactory
Public Class GridLinkedCellFactory
    Inherits GridCellFactory

Constructors

Name Description
GridLinkedCellFactory()

Properties

Name Description
CellsColumnsCount

Gets the number of columns belonging to the cells area.

CellsRowsCount

Gets the number of rows belonging to the cells area.

ColumnFooterRowsCount

Gets the number of rows belonging to the column footers area.

ColumnHeaderRowsCount

Gets the number of rows belonging to the column headers area.

RowHeaderColumnsCount

Gets the number of columns belonging to the row headers area.

SelectionMode

Methods

Name Description
AllowCustomCell(GridCellType, GridCellRange)

Gets whether custom cells are allowed for the specified range.

AllowEditing(GridCellRange)

Returns true when the cell in the specified range can be edited.

BindCell(GridCellType, GridCellRange, GridCellView)

Binds the the cell.

BindCellContent(GridCellType, GridCellRange, FrameworkElement)

Binds the content of the cell.

CanDragColumn(GridRowColType, int, GridRowColType, int)

Determines whether the column can be drag.

CanDragRow(GridRowColType, int, GridRowColType, int)

Determines whether the row can be drag.

CanDropColumn(GridRowColType, int, int)

Determines whether a column can be dragged to the specified position.

CanDropRow(GridRowColType, int, int)

Determines whether a row can be dragged to the specified position.

CanSetColumnWidth(GridRowColType, int)

Determines whether the with of a column can be set.

CanSetRowHeight(GridRowColType, int)

Determines whether the height of the row can be set.

CreateCell(GridCellType, GridCellRange, object)

Creates the cell.

CreateCellContent(GridCellType, GridCellRange, object)

Creates the content of the cell.

CreateCellEditor(GridCellRange)

Creates the cell editor.

DropColumnAsync(GridRowColType, int, int)

Drops the column from the original index from to the index to.

DropRowAsync(GridRowColType, int, int)

Drops the row from the original index from to the index to.

GetCellContentType(GridCellType, GridCellRange)

Gets a key that defines the type of cell content.

GetCellKind(GridCellType, GridCellRange)

Gets a key that defines the kind of cell content.

GetColumnInfo(GridRowColType, int)

Gets the dimensions for the specified column.

GetMergedRange(GridCellType, GridCellRange)

Gets the cells range after merging with neighbor cells.

GetRowInfo(GridRowColType, int)

Gets the dimensions for the specified row.

OnEditEnded(GridCellRange, FrameworkElement, bool)

Called when the editing of a cell ended.

OnKeyDown(KeyEventArgs)

Called when the a keyboard key is pressed.

PrepareCell(GridCellType, GridCellRange, GridCellView, Thickness)

Prepares the cell to be shown.

SaveDesiredCellSize(GridCellType, GridCellRange)

Returns whether the desired size for a specific cell is taken into account.

SetColumnWidth(GridRowColType, int, double)

Sets the width of the specified column.

SetRowHeight(GridRowColType, int, double)

Sets the height of the row.

UnbindCell(GridCellType, GridCellRange, GridCellView)

Unbinds the cell.

UnbindCellContent(GridCellType, GridCellRange, FrameworkElement)

Unbinds the content of the cell.