ClassTableViewRowLayoutBase
Represents the table row layout.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public abstract class TableViewRowLayoutBase : IGridRowLayout, IDisposable
Inheritance: objectTableViewRowLayoutBase
Derived Classes:
Implements:
Constructors
TableViewRowLayoutBase()
Declaration
protected TableViewRowLayoutBase()
Properties
Context
Gets or sets the context.
Declaration
public GridLayoutContext Context { get; set; }
Property Value
The context.
DesiredSize
Gets the desired size for the row when using the specified layout.
Declaration
public abstract SizeF DesiredSize { get; }
Property Value
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
Implements
IgnoreColumnVisibility
Gets or sets whether to ignore the column's visibility.
Declaration
public bool IgnoreColumnVisibility { get; set; }
Property Value
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 GridViewColumn objects that are currently visible.
Declaration
public virtual IList<GridViewColumn> RenderColumns { get; }
Property Value
IList<GridViewColumn>
Implements
ScrollableColumns
Gets the scrollable columns
Declaration
public abstract IList<GridViewColumn> ScrollableColumns { get; }
Property Value
IList<GridViewColumn>
Implements
ViewTemplate
Gets the view template.
Declaration
public GridViewTemplate ViewTemplate { get; }
Property Value
The view template.
Methods
ArrangeCell(RectangleF, GridCellElement)
Arranges the cells in the row.
Declaration
public abstract RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
Parameters
clientRect
The size that is available for the specified row.
cell
The GridRowElement to arrange.
Returns
The arranged rectangle.
Implements
ColumnIsVisible(GridViewColumn)
Returns whether the column the is visible.
Declaration
public virtual bool ColumnIsVisible(GridViewColumn column)
Parameters
column
The column.
Returns
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
column
The column.
Returns
GetColumnWidth(GridViewColumn)
Gets the actual column width
Declaration
public virtual int GetColumnWidth(GridViewColumn column)
Parameters
column
An instance of GridViewColumn.
Returns
The actual column width, when successful.
GetRowHeight(GridViewRowInfo)
Determines the actual row height.
Declaration
public virtual int GetRowHeight(GridViewRowInfo rowInfo)
Parameters
rowInfo
The desired GridViewRowInfo.
Returns
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
tableElement
The GridTableElement to associate with this object
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
dataProvider
The data provider.
Returns
Implements
MeasureRow(SizeF)
Measures the space required by the cells.
ResizeColumn(int)
Changes the size of an already chosen column by using the specified delta
Declaration
public abstract void ResizeColumn(int delta)
Parameters
delta
Implements
SetFirstDataColumn(GridViewDataColumn)
Sets the first data column.
Declaration
protected void SetFirstDataColumn(GridViewDataColumn column)
Parameters
column
The column.
SetLastDataColumn(GridViewDataColumn)
Sets the last data column.
Declaration
protected void SetLastDataColumn(GridViewDataColumn column)
Parameters
column
The column.
StartColumnResize(GridViewColumn)
Starts resizing of a column from the UI
Declaration
public abstract void StartColumnResize(GridViewColumn column)
Parameters
column
The GridViewColumn to resize
Implements