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
protected TableViewRowLayoutBase()
Properties
Gets or sets the context.
public GridLayoutContext Context { get; set; }
The context.
Gets the desired size for the row when using the specified layout.
public abstract SizeF DesiredSize { get; }
Implements:
Gets the first data column.
public GridViewDataColumn FirstDataColumn { get; }
Implements:
Gets the desired size for the group row when using the specified layout.
public virtual SizeF GroupRowDesiredSize { get; }
Implements:
Gets or sets whether to ignore the column's visibility.
public bool IgnoreColumnVisibility { get; set; }
The ignore column visibility.
Gets the last data column.
public GridViewDataColumn LastDataColumn { get; }
Implements:
Gets or sets the GridViewTemplate that owns this view definition.
public GridTableElement Owner { get; }
Implements:
RenderColumns
IList<GridViewColumn>
Gets all columns currently visible on screen. Gets a generic list containing all GridViewColumn objects that are currently visible.
public virtual IList<GridViewColumn> RenderColumns { get; }
Implements:
Gets the scrollable columns
public abstract IList<GridViewColumn> ScrollableColumns { get; }
Implements:
Gets the view template.
public GridViewTemplate ViewTemplate { get; }
The view template.
Methods
Arranges the cells in the row.
public abstract RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
The size that is available for the specified row.
cellGridCellElementThe GridRowElement to arrange.
Returns:The arranged rectangle.
Implements:
Returns whether the column the is visible.
public virtual bool ColumnIsVisible(GridViewColumn column)
The column.
Returns:Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
Implements:
Finishes the resizing of a column
public abstract void EndColumnResize()
Implements:
Ensures that the row layout is calculated
public abstract void EnsureColumnsLayout()
Implements:
Gets the column offset.
public abstract int GetColumnOffset(GridViewColumn column)
The column.
Returns:Gets the actual column width
public virtual int GetColumnWidth(GridViewColumn column)
An instance of GridViewColumn.
Returns:The actual column width, when successful.
Determines the actual row height.
public virtual int GetRowHeight(GridViewRowInfo rowInfo)
The desired GridViewRowInfo.
Returns:The actual row height, if successful.
Implements:
Initializes the IGridRowLayout with the specified table element.
public virtual void Initialize(GridTableElement tableElement)
The GridTableElement to associate with this object
Implements:
Invalidates the row layout
public abstract void InvalidateLayout()
Implements:
Invalidates the RenderColumns collection
public virtual void InvalidateRenderColumns()
Implements:
Measures the pinned columns.
public virtual SizeF MeasurePinnedColumns(PinnedColumnTraverser dataProvider)
The data provider.
Returns:Implements:
Changes the size of an already chosen column by using the specified delta
Sets the first data column.
protected void SetFirstDataColumn(GridViewDataColumn column)
The column.
Sets the last data column.
protected void SetLastDataColumn(GridViewDataColumn column)
The column.
Starts resizing of a column from the UI
public abstract void StartColumnResize(GridViewColumn column)
The GridViewColumn to resize
Implements: