Class SelfReferenceCellLayout
Represents an layout that is performed in self-referencing for the first data cell
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class SelfReferenceCellLayout : DisposableObject, IDisposable
Constructors
SelfReferenceCellLayout(GridRowElement)
Initializes a new instance of the SelfReferenceCellLayout class.
Declaration
public SelfReferenceCellLayout(GridRowElement rowElement)
Parameters
|
GridRowElement
rowElement
The row element. |
Properties
DataCell
Gets the data cell.
Declaration
protected GridDataCellElement DataCell { get; }
Property Value
|
GridDataCellElement
The data cell. |
ExpanderItem
Gets a value that indicates the expander element associated with the layout
Declaration
public GridExpanderItem ExpanderItem { get; }
Property Value
|
GridExpanderItem
|
LinkCount
Gets a value that indicates the links count
Declaration
protected int LinkCount { get; }
Property Value
|
System.Int32
|
LinkIndent
Gets or sets the width of the GridViewIndentColumn.
Declaration
protected int LinkIndent { get; }
Property Value
|
System.Int32
|
Links
Gets a collection that contains all links
Declaration
protected List<GridLinkItem> Links { get; }
Property Value
|
System.Collections.Generic.List<GridLinkItem>
|
RowElement
Gets a value that indicates the row element associated with the layout
Declaration
protected GridRowElement RowElement { get; }
Property Value
|
GridRowElement
|
RowInfo
Gets a value that indicates the row associated with the layout
Declaration
protected GridViewHierarchyRowInfo RowInfo { get; }
Property Value
|
GridViewHierarchyRowInfo
|
StackLayoutElement
Gets the stack layout element.
Declaration
public StackLayoutElement StackLayoutElement { get; }
Property Value
|
StackLayoutElement
The stack layout element. |
Methods
BindRowProperties()
Binds the row properties.
Declaration
public virtual void BindRowProperties()
CacheLinkItem(GridLinkItem)
Caches the link item.
Declaration
protected void CacheLinkItem(GridLinkItem item)
Parameters
|
GridLinkItem
item
The item. |
CreateCellElements(GridDataCellElement)
Creates the self-referencing cell's elements.
Declaration
public virtual void CreateCellElements(GridDataCellElement dataCell)
Parameters
|
GridDataCellElement
dataCell
The data cell. |
DetachCellElements()
Detaches the cell elements.
Declaration
public virtual void DetachCellElements()
DisposeLinks()
Disposes the link elements.
Declaration
protected void DisposeLinks()
DisposeManagedResources()
Disposes all managed resources - such as Bitmaps, GDI+ objects, etc.
Declaration
protected override void DisposeManagedResources()
Overrides
GetLinkItem()
GetTraverser(IHierarchicalRow)
Gets the traverser for concrete instance of IHierarchicalRow.
Declaration
protected ITraverser<GridViewRowInfo> GetTraverser(IHierarchicalRow hierarchicalRow)
Parameters
|
IHierarchicalRow
hierarchicalRow
An instance of IHierarchicalRow. |
Returns
|
ITraverser<GridViewRowInfo>
|
IsFirstChildRow(IHierarchicalRow, GridViewRowInfo)
Determines whether [is first child row] [the specified parent].
Declaration
protected virtual bool IsFirstChildRow(IHierarchicalRow parent, GridViewRowInfo row)
Parameters
|
IHierarchicalRow
parent
The parent. |
|
GridViewRowInfo
row
The row. |
Returns
|
System.Boolean
|
IsLastChildRow(IHierarchicalRow, GridViewRowInfo)
Determines whether [is last child row] [the specified parent].
Declaration
protected virtual bool IsLastChildRow(IHierarchicalRow parent, GridViewRowInfo row)
Parameters
|
IHierarchicalRow
parent
The parent. |
|
GridViewRowInfo
row
The row. |
Returns
|
System.Boolean
|
UnbindRowProperties()
Unbinds the row properties.
Declaration
public virtual void UnbindRowProperties()
UpdateExpander(Boolean)
Updates the associated instance of expander primitive
Declaration
protected virtual void UpdateExpander(bool isLastChildRow)
Parameters
|
System.Boolean
isLastChildRow
Value that indicated whether the row is first one. |
UpdateLinks(Boolean)
Updates links
Declaration
protected virtual void UpdateLinks(bool isLastChildRow)
Parameters
|
System.Boolean
isLastChildRow
|
UpdateLinksCore()
Creates or deletes links
Declaration
protected virtual void UpdateLinksCore()
UpdateLinkTypes(Boolean)
Updates link types in the specified data cell.
Declaration
protected virtual void UpdateLinkTypes(bool isLastChildRow)
Parameters
|
System.Boolean
isLastChildRow
|