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