Class TableViewRowLayoutBase
Represents the table row layout.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public abstract class TableViewRowLayoutBase : IGridRowLayout, IDisposable
Constructors
TableViewRowLayoutBase()
Declaration
protected TableViewRowLayoutBase()
Properties
Context
Gets or sets the context.
Declaration
public GridLayoutContext Context { get; set; }
Property Value
Grid The context. |
DesiredSize
Gets the desired size for the row when using the specified layout.
Declaration
public abstract SizeF DesiredSize { get; }
Property Value
System.
|
Implements
FirstDataColumn
Gets the first data column.
Declaration
public GridViewDataColumn FirstDataColumn { get; }
Property Value
Implements
GroupRowDesiredSize
Gets the desired size for the group row when using the specified layout.
Declaration
public virtual SizeF GroupRowDesiredSize { get; }
Property Value
System.
|
Implements
IgnoreColumnVisibility
Gets or sets whether to ignore the column's visibility.
Declaration
public bool IgnoreColumnVisibility { get; set; }
Property Value
System. The ignore column visibility. |
LastDataColumn
Gets the last data column.
Declaration
public GridViewDataColumn LastDataColumn { get; }
Property Value
Implements
Owner
Gets or sets the GridViewTemplate that owns this view definition.
Declaration
public GridTableElement Owner { get; }
Property Value
Implements
RenderColumns
Gets all columns currently visible on screen.
Gets a generic list containing all Grid
Declaration
public virtual IList<GridViewColumn> RenderColumns { get; }
Property Value
System.
|
Implements
ScrollableColumns
Gets the scrollable columns
Declaration
public abstract IList<GridViewColumn> ScrollableColumns { get; }
Property Value
System.
|
Implements
ViewTemplate
Gets the view template.
Declaration
public GridViewTemplate ViewTemplate { get; }
Property Value
Grid The view template. |
Methods
ArrangeCell(RectangleF, GridCellElement)
Arranges the cells in the row.
Declaration
public abstract RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
Parameters
System. The size that is available for the specified row. |
Grid The Grid |
Returns
System. The arranged rectangle. |
Implements
ColumnIsVisible(GridViewColumn)
Returns whether the column the is visible.
Declaration
public virtual bool ColumnIsVisible(GridViewColumn column)
Parameters
Grid The column. |
Returns
System.
|
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public virtual void Dispose()
Implements
EndColumnResize()
Finishes the resizing of a column
Declaration
public abstract void EndColumnResize()
Implements
EnsureColumnsLayout()
Ensures that the row layout is calculated
Declaration
public abstract void EnsureColumnsLayout()
Implements
GetColumnOffset(GridViewColumn)
Gets the column offset.
Declaration
public abstract int GetColumnOffset(GridViewColumn column)
Parameters
Grid The column. |
Returns
System.
|
GetColumnWidth(GridViewColumn)
Gets the actual column width
Declaration
public virtual int GetColumnWidth(GridViewColumn column)
Parameters
Grid An instance of Grid |
Returns
System. The actual column width, when successful. |
GetRowHeight(GridViewRowInfo)
Determines the actual row height.
Declaration
public virtual int GetRowHeight(GridViewRowInfo rowInfo)
Parameters
Grid The desired Grid |
Returns
System. The actual row height, if successful. |
Implements
Initialize(GridTableElement)
Initializes the IGridRowLayout with the specified table element.
Declaration
public virtual void Initialize(GridTableElement tableElement)
Parameters
Grid The Grid |
Implements
InvalidateLayout()
Invalidates the row layout
Declaration
public abstract void InvalidateLayout()
Implements
InvalidateRenderColumns()
Invalidates the RenderColumns collection
Declaration
public virtual void InvalidateRenderColumns()
Implements
MeasurePinnedColumns(PinnedColumnTraverser)
Measures the pinned columns.
Declaration
public virtual SizeF MeasurePinnedColumns(PinnedColumnTraverser dataProvider)
Parameters
Pinned The data provider. |
Returns
System.
|
Implements
MeasureRow(SizeF)
Measures the space required by the cells.
Declaration
public abstract SizeF MeasureRow(SizeF availableSize)
Parameters
System. The size that is available for grid rows. |
Returns
System. The size required by the row element. |
Implements
ResizeColumn(Int32)
Changes the size of an already chosen column by using the specified delta
Declaration
public abstract void ResizeColumn(int delta)
Parameters
System.
|
Implements
SetFirstDataColumn(GridViewDataColumn)
Sets the first data column.
Declaration
protected void SetFirstDataColumn(GridViewDataColumn column)
Parameters
Grid The column. |
SetLastDataColumn(GridViewDataColumn)
Sets the last data column.
Declaration
protected void SetLastDataColumn(GridViewDataColumn column)
Parameters
Grid The column. |
StartColumnResize(GridViewColumn)
Starts resizing of a column from the UI
Declaration
public abstract void StartColumnResize(GridViewColumn column)
Parameters
Grid The Grid |