Class
SelfReferenceCellLayout

Represents an layout that is performed in self-referencing for the first data cell

Definition

Constructors

SelfReferenceCellLayout(GridRowElement)

Initializes a new instance of the SelfReferenceCellLayout class.

Declaration

cs-api-definition
public SelfReferenceCellLayout(GridRowElement rowElement)

Parameters

rowElement

GridRowElement

The row element.

Properties

DataCell

Gets the data cell.

Declaration

cs-api-definition
protected GridDataCellElement DataCell { get; }

Property Value

GridDataCellElement

The data cell.

ExpanderItem

Gets a value that indicates the expander element associated with the layout

Declaration

cs-api-definition
public GridExpanderItem ExpanderItem { get; }

Property Value

GridExpanderItem

LinkCount

Gets a value that indicates the links count

Declaration

cs-api-definition
protected int LinkCount { get; }

Property Value

int

LinkIndent

Gets or sets the width of the GridViewIndentColumn.

Declaration

cs-api-definition
protected int LinkIndent { get; }

Property Value

int

Gets a collection that contains all links

Declaration

cs-api-definition
protected List<GridLinkItem> Links { get; }

Property Value

List<GridLinkItem>

RowElement

Gets a value that indicates the row element associated with the layout

Declaration

cs-api-definition
protected GridRowElement RowElement { get; }

Property Value

GridRowElement

RowInfo

Gets a value that indicates the row associated with the layout

Declaration

cs-api-definition
protected GridViewHierarchyRowInfo RowInfo { get; }

Property Value

GridViewHierarchyRowInfo

StackLayoutElement

Gets the stack layout element.

Declaration

cs-api-definition
public StackLayoutElement StackLayoutElement { get; }

Property Value

StackLayoutElement

The stack layout element.

Methods

BindRowProperties()

Binds the row properties.

Declaration

cs-api-definition
public virtual void BindRowProperties()

CacheLinkItem(GridLinkItem)

Caches the link item.

Declaration

cs-api-definition
protected void CacheLinkItem(GridLinkItem item)

Parameters

item

GridLinkItem

The item.

CreateCellElements(GridDataCellElement)

Creates the self-referencing cell's elements.

Declaration

cs-api-definition
public virtual void CreateCellElements(GridDataCellElement dataCell)

Parameters

dataCell

GridDataCellElement

The data cell.

DetachCellElements()

Detaches the cell elements.

Declaration

cs-api-definition
public virtual void DetachCellElements()

Disposes the link elements.

Declaration

cs-api-definition
protected void DisposeLinks()

DisposeManagedResources()

Disposes all managed resources - such as Bitmaps, GDI+ objects, etc.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides DisposableObject.DisposeManagedResources()

GetLinkItem()

Gets the link item.

Declaration

cs-api-definition
protected GridLinkItem GetLinkItem()

Returns

GridLinkItem

GetTraverser(IHierarchicalRow)

Gets the traverser for concrete instance of IHierarchicalRow.

Declaration

cs-api-definition
protected ITraverser<GridViewRowInfo> GetTraverser(IHierarchicalRow hierarchicalRow)

Parameters

hierarchicalRow

IHierarchicalRow

An instance of IHierarchicalRow.

Returns

ITraverser<GridViewRowInfo>

IsFirstChildRow(IHierarchicalRow, GridViewRowInfo)

Determines whether [is first child row] [the specified parent].

Declaration

cs-api-definition
protected virtual bool IsFirstChildRow(IHierarchicalRow parent, GridViewRowInfo row)

Parameters

parent

IHierarchicalRow

The parent.

row

GridViewRowInfo

The row.

Returns

bool

true if [is first child row] [the specified parent]; otherwise, false.

IsLastChildRow(IHierarchicalRow, GridViewRowInfo)

Determines whether [is last child row] [the specified parent].

Declaration

cs-api-definition
protected virtual bool IsLastChildRow(IHierarchicalRow parent, GridViewRowInfo row)

Parameters

parent

IHierarchicalRow

The parent.

row

GridViewRowInfo

The row.

Returns

bool

true if [is last child row] [the specified parent]; otherwise, false.

UnbindRowProperties()

Unbinds the row properties.

Declaration

cs-api-definition
public virtual void UnbindRowProperties()

UpdateExpander(bool)

Updates the associated instance of expander primitive

Declaration

cs-api-definition
protected virtual void UpdateExpander(bool isLastChildRow)

Parameters

isLastChildRow

bool

Value that indicated whether the row is first one.

UpdateLinkTypes(bool)

Updates link types in the specified data cell.

Declaration

cs-api-definition
protected virtual void UpdateLinkTypes(bool isLastChildRow)

Parameters

isLastChildRow

bool

Updates links

Declaration

cs-api-definition
protected virtual void UpdateLinks(bool isLastChildRow)

Parameters

isLastChildRow

bool

UpdateLinksCore()

Creates or deletes links

Declaration

cs-api-definition
protected virtual void UpdateLinksCore()