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
GridLayoutContext
The context. |
DesiredSize
Gets the desired size for the row when using the specified layout.
Declaration
public abstract SizeF DesiredSize { get; }
Property Value
System.Drawing.SizeF
|
Implements
FirstDataColumn
Gets the first data column.
Declaration
public GridViewDataColumn FirstDataColumn { get; }
Property Value
GridViewDataColumn
|
Implements
GroupRowDesiredSize
Gets the desired size for the group row when using the specified layout.
Declaration
public virtual SizeF GroupRowDesiredSize { get; }
Property Value
System.Drawing.SizeF
|
Implements
IgnoreColumnVisibility
Gets or sets whether to ignore the column's visibility.
Declaration
public bool IgnoreColumnVisibility { get; set; }
Property Value
System.Boolean
The ignore column visibility. |
LastDataColumn
Gets the last data column.
Declaration
public GridViewDataColumn LastDataColumn { get; }
Property Value
GridViewDataColumn
|
Implements
Owner
Gets or sets the GridViewTemplate that owns this view definition.
Declaration
public GridTableElement Owner { get; }
Property Value
GridTableElement
|
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
System.Collections.Generic.IList<GridViewColumn>
|
Implements
ScrollableColumns
Gets the scrollable columns
Declaration
public abstract IList<GridViewColumn> ScrollableColumns { get; }
Property Value
System.Collections.Generic.IList<GridViewColumn>
|
Implements
ViewTemplate
Gets the view template.
Declaration
public GridViewTemplate ViewTemplate { get; }
Property Value
GridViewTemplate
The view template. |
Methods
ArrangeCell(RectangleF, GridCellElement)
Arranges the cells in the row.
Declaration
public abstract RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
Parameters
System.Drawing.RectangleF
clientRect
The size that is available for the specified row. |
GridCellElement
cell
The GridRowElement to arrange. |
Returns
System.Drawing.RectangleF
The arranged rectangle. |
Implements
ColumnIsVisible(GridViewColumn)
Returns whether the column the is visible.
Declaration
public virtual bool ColumnIsVisible(GridViewColumn column)
Parameters
GridViewColumn
column
The column. |
Returns
System.Boolean
|
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
GridViewColumn
column
The column. |
Returns
System.Int32
|
GetColumnWidth(GridViewColumn)
Gets the actual column width
Declaration
public virtual int GetColumnWidth(GridViewColumn column)
Parameters
GridViewColumn
column
An instance of GridViewColumn. |
Returns
System.Int32
The actual column width, when successful. |
GetRowHeight(GridViewRowInfo)
Determines the actual row height.
Declaration
public virtual int GetRowHeight(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo
rowInfo
The desired GridViewRowInfo. |
Returns
System.Int32
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
GridTableElement
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
PinnedColumnTraverser
dataProvider
The data provider. |
Returns
System.Drawing.SizeF
|
Implements
MeasureRow(SizeF)
Measures the space required by the cells.
Declaration
public abstract SizeF MeasureRow(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
The size that is available for grid rows. |
Returns
System.Drawing.SizeF
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.Int32
delta
|
Implements
SetFirstDataColumn(GridViewDataColumn)
Sets the first data column.
Declaration
protected void SetFirstDataColumn(GridViewDataColumn column)
Parameters
GridViewDataColumn
column
The column. |
SetLastDataColumn(GridViewDataColumn)
Sets the last data column.
Declaration
protected void SetLastDataColumn(GridViewDataColumn column)
Parameters
GridViewDataColumn
column
The column. |
StartColumnResize(GridViewColumn)
Starts resizing of a column from the UI
Declaration
public abstract void StartColumnResize(GridViewColumn column)
Parameters
GridViewColumn
column
The GridViewColumn to resize |