Class GridVirtualizedRowElement
Represents the visual element for the virtualized row.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridVirtualizedRowElement : GridRowElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewRowInfo>
  Constructors
GridVirtualizedRowElement()
Declaration
public GridVirtualizedRowElement()
  Properties
ElementSpacing
Gets or sets the element spacing.
Declaration
public int ElementSpacing { get; set; }
  Property Value
| 
        System.Int32
         The element spacing.  | 
    
LeftPinnedColumns
Gets the left pinned columns.
Declaration
public PinnedColumnsContainerElement LeftPinnedColumns { get; }
  Property Value
| 
        PinnedColumnsContainerElement
         The left pinned columns.  | 
    
RightPinnedColumns
Gets the right pinned columns.
Declaration
public PinnedColumnsContainerElement RightPinnedColumns { get; }
  Property Value
| 
        PinnedColumnsContainerElement
         The right pinned columns.  | 
    
ScrollableColumns
Gets the scrollable columns.
Declaration
public VirtualizedColumnContainer ScrollableColumns { get; }
  Property Value
| 
        VirtualizedColumnContainer
         The scrollable columns.  | 
    
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
  Parameters
| 
        System.Drawing.SizeF
        finalSize
         The size that is available for element.  | 
    
Returns
| 
        System.Drawing.SizeF
         The rectangle occupied by the element. Usually   | 
    
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
  Overrides
CreateLeftPinnedColumnsContainer()
Creates the left pinned columns container.
Declaration
protected virtual PinnedColumnsContainerElement CreateLeftPinnedColumnsContainer()
  Returns
| 
        PinnedColumnsContainerElement
         
  | 
    
CreateRightPinnedColumnsContainer()
Creates the right pinned columns container.
Declaration
protected virtual PinnedColumnsContainerElement CreateRightPinnedColumnsContainer()
  Returns
| 
        PinnedColumnsContainerElement
         
  | 
    
CreateScrollableColumnsContainer()
Creates the scrollable columns container.
Declaration
protected virtual VirtualizedColumnContainer CreateScrollableColumnsContainer()
  Returns
| 
        VirtualizedColumnContainer
         
  | 
    
Detach()
DetachCells()
Detaches the cells.
Declaration
protected virtual void DetachCells()
  GetCellElement(Int32)
Gets the cell element.
Declaration
public GridCellElement GetCellElement(int columnIndex)
  Parameters
| 
        System.Int32
        columnIndex
         Index of the column.  | 
    
Returns
| 
        GridCellElement
         
  | 
    
GetCellElement(String)
Gets the cell element.
Declaration
public GridCellElement GetCellElement(string name)
  Parameters
| 
        System.String
        name
         The name.  | 
    
Returns
| 
        GridCellElement
         
  | 
    
GetCellElement(GridViewColumn)
Gets the cell element.
Declaration
public GridCellElement GetCellElement(GridViewColumn column)
  Parameters
| 
        GridViewColumn
        column
         The column.  | 
    
Returns
| 
        GridCellElement
         
  | 
    
InitializeRowView(GridTableElement)
Initializes the row view.
Declaration
public override void InitializeRowView(GridTableElement tableElement)
  Parameters
| 
        GridTableElement
        tableElement
         The instance of IRowView which the row is associated with.  | 
    
Overrides
MeasureElements(SizeF, SizeF, Padding)
Measures the elements.
Declaration
protected override SizeF MeasureElements(SizeF availableSize, SizeF clientSize, Padding borderThickness)
  Parameters
| 
        System.Drawing.SizeF
        availableSize
         Size of the available.  | 
    
| 
        System.Drawing.SizeF
        clientSize
         Size of the client.  | 
    
| 
        System.Windows.Forms.Padding
        borderThickness
         The border thickness.  | 
    
Returns
| 
        System.Drawing.SizeF
         
  | 
    
Overrides
UnwireEvents()
UpdateCells()
Updates cell layout
Declaration
public override void UpdateCells()