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 Self
Declaration
public SelfReferenceCellLayout(GridRowElement rowElement)
Parameters
Grid The row element. |
Properties
DataCell
Gets the data cell.
Declaration
protected GridDataCellElement DataCell { get; }
Property Value
Grid The data cell. |
ExpanderItem
Gets a value that indicates the expander element associated with the layout
Declaration
public GridExpanderItem ExpanderItem { get; }
Property Value
LinkCount
Gets a value that indicates the links count
Declaration
protected int LinkCount { get; }
Property Value
System.
|
LinkIndent
Gets or sets the width of the Grid
Declaration
protected int LinkIndent { get; }
Property Value
System.
|
Links
Gets a collection that contains all links
Declaration
protected List<GridLinkItem> Links { get; }
Property Value
System.
|
RowElement
Gets a value that indicates the row element associated with the layout
Declaration
protected GridRowElement RowElement { get; }
Property Value
RowInfo
Gets a value that indicates the row associated with the layout
Declaration
protected GridViewHierarchyRowInfo RowInfo { get; }
Property Value
StackLayoutElement
Gets the stack layout element.
Declaration
public StackLayoutElement StackLayoutElement { get; }
Property Value
Stack 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
Grid The item. |
CreateCellElements(GridDataCellElement)
Creates the self-referencing cell's elements.
Declaration
public virtual void CreateCellElements(GridDataCellElement dataCell)
Parameters
Grid 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 IHierarchical
Declaration
protected ITraverser<GridViewRowInfo> GetTraverser(IHierarchicalRow hierarchicalRow)
Parameters
IHierarchical An instance of IHierarchical |
Returns
IsFirstChildRow(IHierarchicalRow, GridViewRowInfo)
Determines whether [is first child row] [the specified parent].
Declaration
protected virtual bool IsFirstChildRow(IHierarchicalRow parent, GridViewRowInfo row)
Parameters
IHierarchical The parent. |
Grid The row. |
Returns
System.
|
IsLastChildRow(IHierarchicalRow, GridViewRowInfo)
Determines whether [is last child row] [the specified parent].
Declaration
protected virtual bool IsLastChildRow(IHierarchicalRow parent, GridViewRowInfo row)
Parameters
IHierarchical The parent. |
Grid The row. |
Returns
System.
|
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. Value that indicated whether the row is first one. |
UpdateLinks(Boolean)
Updates links
Declaration
protected virtual void UpdateLinks(bool isLastChildRow)
Parameters
System.
|
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.
|