Class
TableBase

Represents a base class for rendering tabular data.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Pivot.dll

Syntax:

cs-api-definition
[SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling", Justification = "Needed.")]
public abstract class TableBase : Control

Inheritance: objectTableBase

Derived Classes: TreeGridRadPivotGrid

Constructors

TableBase()

Initializes a new instance of the TableBase class.

Declaration

cs-api-definition
protected TableBase()

Fields

AllowSelectionProperty

Identifies the AllowSelection dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AllowSelectionProperty

Field Value

DependencyProperty

CellTemplateProperty

Identifies the CellTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellTemplateProperty

Field Value

DependencyProperty

CellTemplateSelectorProperty

Identifies the ItemTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellTemplateSelectorProperty

Field Value

DependencyProperty

CellTextAlignmentProperty

Identifies the CellTextAlignment dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellTextAlignmentProperty

Field Value

DependencyProperty

CellTextPaddingProperty

Identifies the CellTextPadding dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellTextPaddingProperty

Field Value

DependencyProperty

CellTextVerticalAlignmentProperty

Identifies the CellTextVerticalAlignment dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellTextVerticalAlignmentProperty

Field Value

DependencyProperty

CellToolTipIsEnabledProperty

Identifies the CellTooltipIsEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellToolTipIsEnabledProperty

Field Value

DependencyProperty

CellTooltipStyleProperty

Identifies the CellTooltipStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellTooltipStyleProperty

Field Value

DependencyProperty

ColumnGrandTotalsPositionProperty

Identifies the ColumnGrandTotalsPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnGrandTotalsPositionProperty

Field Value

DependencyProperty

ColumnGroupTooltipStyleProperty

Identifies the ColumnGroupTooltipStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnGroupTooltipStyleProperty

Field Value

DependencyProperty

ColumnHeaderStyleProperty

Identifies the ColumnHeaderStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnHeaderStyleProperty

Field Value

DependencyProperty

ColumnHeaderStyleSelectorProperty

Identifies the ColumnHeaderStyleSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnHeaderStyleSelectorProperty

Field Value

DependencyProperty

ColumnHeaderTemplateProperty

Identifies the ColumnHeaderTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnHeaderTemplateProperty

Field Value

DependencyProperty

ColumnHeaderTemplateSelectorProperty

Identifies the ItemTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnHeaderTemplateSelectorProperty

Field Value

DependencyProperty

ColumnSubTotalsPositionProperty

Identifies the ColumnSubTotalsPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnSubTotalsPositionProperty

Field Value

DependencyProperty

ColumnToolTipIsEnabledProperty

Identifies the ColumnTooltipIsEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnToolTipIsEnabledProperty

Field Value

DependencyProperty

ColumnWidthProperty

Identifies the ColumnWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnWidthProperty

Field Value

DependencyProperty

EditProviderProperty

Identifies the EditProvider dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EditProviderProperty

Field Value

DependencyProperty

HorizontalLayoutProperty

Identifies the HorizontalLayout dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalLayoutProperty

Field Value

DependencyProperty

QuickStyleProperty

Identifies the QuickStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty QuickStyleProperty

Field Value

DependencyProperty

RowGrandTotalsPositionProperty

Identifies the RowGrandTotalsPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowGrandTotalsPositionProperty

Field Value

DependencyProperty

RowGroupTooltipStyleProperty

Identifies the RowGroupTooltipStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowGroupTooltipStyleProperty

Field Value

DependencyProperty

RowHeaderStyleProperty

Identifies the RowHeaderStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowHeaderStyleProperty

Field Value

DependencyProperty

RowHeaderStyleSelectorProperty

Identifies the RowHeaderStyleSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowHeaderStyleSelectorProperty

Field Value

DependencyProperty

RowHeaderTemplateProperty

Identifies the RowHeaderTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowHeaderTemplateProperty

Field Value

DependencyProperty

RowHeaderTemplateSelectorProperty

Identifies the ItemTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowHeaderTemplateSelectorProperty

Field Value

DependencyProperty

RowHeightProperty

Identifies the RowHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowHeightProperty

Field Value

DependencyProperty

RowSubTotalsPositionProperty

Identifies the RowSubTotalsPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowSubTotalsPositionProperty

Field Value

DependencyProperty

RowToolTipIsEnabledProperty

Identifies the RowTooltipIsEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowToolTipIsEnabledProperty

Field Value

DependencyProperty

VerticalLayoutProperty

Identifies the VerticalLayout dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalLayoutProperty

Field Value

DependencyProperty

Properties

AllowSelection

Gets or sets whether selection is enabled for the control. The default value is false.

Declaration

cs-api-definition
public bool AllowSelection { get; set; }

Property Value

bool

CellTemplate

Gets or sets a DataTemplate that will be applied to Cell controls.

Declaration

cs-api-definition
public DataTemplate CellTemplate { get; set; }

Property Value

DataTemplate

CellTemplateSelector

Gets or sets a DataTemplateSelector that will be applied to Cell controls.

Declaration

cs-api-definition
public DataTemplateSelector CellTemplateSelector { get; set; }

Property Value

DataTemplateSelector

CellTextAlignment

Gets or sets the default text cell TextAlignment.

Declaration

cs-api-definition
public TextAlignment CellTextAlignment { get; set; }

Property Value

TextAlignment

CellTextPadding

Gets or sets the default cell TextAlignment.

Declaration

cs-api-definition
public Thickness CellTextPadding { get; set; }

Property Value

Thickness

CellTextVerticalAlignment

Gets or sets the default text cell VerticalAlignment.

Declaration

cs-api-definition
public VerticalAlignment CellTextVerticalAlignment { get; set; }

Property Value

VerticalAlignment

CellToolTipIsEnabled

Gets or sets whether Tooltip is enabled for cell elements.

Declaration

cs-api-definition
public bool CellToolTipIsEnabled { get; set; }

Property Value

bool

CellTooltipStyle

Gets or sets the style of the Tooltip used for the cells.

Declaration

cs-api-definition
public Style CellTooltipStyle { get; set; }

Property Value

Style

ColumnGrandTotalsPosition

Gets or sets the column grand totals position.

Declaration

cs-api-definition
public ColumnTotalsPosition ColumnGrandTotalsPosition { get; set; }

Property Value

ColumnTotalsPosition

ColumnGroupTooltipStyle

Gets or sets the style of the Tooltip used for the PivotHeaders in the column area.

Declaration

cs-api-definition
public Style ColumnGroupTooltipStyle { get; set; }

Property Value

Style

ColumnHeaderStyle

Gets or sets a Style that will be applied to ColumnHeader controls.

Declaration

cs-api-definition
public Style ColumnHeaderStyle { get; set; }

Property Value

Style

ColumnHeaderStyleSelector

Gets or sets a StyleSelector that will be applied to ColumnHeader controls.

Declaration

cs-api-definition
public StyleSelector ColumnHeaderStyleSelector { get; set; }

Property Value

StyleSelector

ColumnHeaderTemplate

Gets or sets a DataTemplate that will be applied to ColumnHeader controls.

Declaration

cs-api-definition
public DataTemplate ColumnHeaderTemplate { get; set; }

Property Value

DataTemplate

ColumnHeaderTemplateSelector

Gets or sets a DataTemplateSelector that will be applied to ColumnHeader controls.

Declaration

cs-api-definition
public DataTemplateSelector ColumnHeaderTemplateSelector { get; set; }

Property Value

DataTemplateSelector

ColumnSubTotalsPosition

Gets or sets the column subtotals position.

Declaration

cs-api-definition
public ColumnTotalsPosition ColumnSubTotalsPosition { get; set; }

Property Value

ColumnTotalsPosition

ColumnToolTipIsEnabled

Gets or sets whether Tooltip is enabled for ColumnHeaders.

Declaration

cs-api-definition
public bool ColumnToolTipIsEnabled { get; set; }

Property Value

bool

ColumnWidth

Gets or sets the standard width of columns in the control. The default is NaN (auto).

Declaration

cs-api-definition
public double ColumnWidth { get; set; }

Property Value

double

EditProvider

Gets or sets an editor provider that enables edit operations.

Declaration

cs-api-definition
public EditProvider EditProvider { get; set; }

Property Value

EditProvider

HorizontalLayout

Gets or sets the columns layout.

Declaration

cs-api-definition
public PivotLayoutType HorizontalLayout { get; set; }

Property Value

PivotLayoutType

QuickStyle

Gets or sets the QuickStyle.

Declaration

cs-api-definition
public QuickStyle QuickStyle { get; set; }

Property Value

QuickStyle

RowGrandTotalsPosition

Gets or sets the row grand totals position.

Declaration

cs-api-definition
public RowTotalsPosition RowGrandTotalsPosition { get; set; }

Property Value

RowTotalsPosition

RowGroupTooltipStyle

Gets or sets the style of the Tooltip used for the PivotHeaders in the row area.

Declaration

cs-api-definition
public Style RowGroupTooltipStyle { get; set; }

Property Value

Style

RowHeaderStyle

Gets or sets a Style that will be applied to RowHeader controls.

Declaration

cs-api-definition
public Style RowHeaderStyle { get; set; }

Property Value

Style

RowHeaderStyleSelector

Gets or sets a StyleSelector that will be applied to RowHeader controls.

Declaration

cs-api-definition
public StyleSelector RowHeaderStyleSelector { get; set; }

Property Value

StyleSelector

RowHeaderTemplate

Gets or sets a DataTemplate that will be applied to RowHeader controls.

Declaration

cs-api-definition
public DataTemplate RowHeaderTemplate { get; set; }

Property Value

DataTemplate

RowHeaderTemplateSelector

Gets or sets a DataTemplateSelector that will be applied to RowHeader controls.

Declaration

cs-api-definition
public DataTemplateSelector RowHeaderTemplateSelector { get; set; }

Property Value

DataTemplateSelector

RowHeight

Gets or sets the standard height of rows in the control. The default is NaN (auto).

Declaration

cs-api-definition
public double RowHeight { get; set; }

Property Value

double

RowSubTotalsPosition

Gets or sets the row subtotals position.

Declaration

cs-api-definition
public RowTotalsPosition RowSubTotalsPosition { get; set; }

Property Value

RowTotalsPosition

RowToolTipIsEnabled

Gets or sets whether Tooltip is enabled for RowHeaders.

Declaration

cs-api-definition
public bool RowToolTipIsEnabled { get; set; }

Property Value

bool

VerticalLayout

Gets or sets the rows layout.

Declaration

cs-api-definition
public PivotLayoutType VerticalLayout { get; set; }

Property Value

PivotLayoutType

Methods

MeasureOverride(Size)

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

Returns

Size

OnAllowSelectionChanged(bool, bool)

Called when the AllowSelection of the control has changed.

Declaration

cs-api-definition
protected virtual void OnAllowSelectionChanged(bool newValue, bool oldValue)

Parameters

newValue

bool

The new value.

oldValue

bool

The old value.

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnEditEnded(CellAggregateValue, object)

Raises the EditEnded event.

Declaration

cs-api-definition
protected virtual void OnEditEnded(CellAggregateValue cellAggregate, object editValue)

Parameters

cellAggregate

CellAggregateValue

editValue

object

OnMouseWheel(MouseWheelEventArgs)

Declaration

cs-api-definition
protected override void OnMouseWheel(MouseWheelEventArgs e)

Parameters

e

MouseWheelEventArgs

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Declaration

cs-api-definition
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)

Parameters

e

DependencyPropertyChangedEventArgs

OnSelectionChanged()

Called when the selection of the control has changed.

Declaration

cs-api-definition
protected virtual void OnSelectionChanged()

Refresh()

Rebuild the UI.

Declaration

cs-api-definition
public void Refresh()

Events

EditEnded

Fires when edit operation in the control has finished successfully.

Declaration

cs-api-definition
public event EventHandler<EditEndedEventArgs> EditEnded

Event Value

EventHandler<EditEndedEventArgs>

SelectionChanged

Fires when the selection of the control has changed.

Declaration

cs-api-definition
public event EventHandler SelectionChanged

Event Value

EventHandler

In this article
DefinitionConstructorsTableBase()FieldsAllowSelectionPropertyCellTemplatePropertyCellTemplateSelectorPropertyCellTextAlignmentPropertyCellTextPaddingPropertyCellTextVerticalAlignmentPropertyCellToolTipIsEnabledPropertyCellTooltipStylePropertyColumnGrandTotalsPositionPropertyColumnGroupTooltipStylePropertyColumnHeaderStylePropertyColumnHeaderStyleSelectorPropertyColumnHeaderTemplatePropertyColumnHeaderTemplateSelectorPropertyColumnSubTotalsPositionPropertyColumnToolTipIsEnabledPropertyColumnWidthPropertyEditProviderPropertyHorizontalLayoutPropertyQuickStylePropertyRowGrandTotalsPositionPropertyRowGroupTooltipStylePropertyRowHeaderStylePropertyRowHeaderStyleSelectorPropertyRowHeaderTemplatePropertyRowHeaderTemplateSelectorPropertyRowHeightPropertyRowSubTotalsPositionPropertyRowToolTipIsEnabledPropertyVerticalLayoutPropertyPropertiesAllowSelectionCellTemplateCellTemplateSelectorCellTextAlignmentCellTextPaddingCellTextVerticalAlignmentCellToolTipIsEnabledCellTooltipStyleColumnGrandTotalsPositionColumnGroupTooltipStyleColumnHeaderStyleColumnHeaderStyleSelectorColumnHeaderTemplateColumnHeaderTemplateSelectorColumnSubTotalsPositionColumnToolTipIsEnabledColumnWidthEditProviderHorizontalLayoutQuickStyleRowGrandTotalsPositionRowGroupTooltipStyleRowHeaderStyleRowHeaderStyleSelectorRowHeaderTemplateRowHeaderTemplateSelectorRowHeightRowSubTotalsPositionRowToolTipIsEnabledVerticalLayoutMethodsMeasureOverride(Size)OnAllowSelectionChanged(bool, bool)OnApplyTemplate()OnEditEnded(CellAggregateValue, object)OnMouseWheel(MouseWheelEventArgs)OnPropertyChanged(DependencyPropertyChangedEventArgs)OnSelectionChanged()Refresh()EventsEditEndedSelectionChanged
Not finding the help you need?
Contact Support