Class TableDefinition
The TableDefinition class defines the data model of a tabular data source. It contains information about the field descriptors(columns) and hierarchy settings. This is an abstract class that is used by the data binding logic. Controls such as RadGridView inherit and provide their specific implementations.
Inheritance
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public abstract class TableDefinition : DependencyObject, INotifyPropertyChanged
Constructors
TableDefinition()
Properties
ChildTableDefinitions
Gets the child table definitions. This collection contains the child table definitions that define the hierarchy structure.
Declaration
public TableDefinitionCollection ChildTableDefinitions { get; }
Property Value
TableDefinitionCollection
The child table definitions. |
DataSource
Gets or sets the data source for the current table definition.
Declaration
public object DataSource { get; set; }
Property Value
System.Object
The data source. |
Relation
Gets or sets the relation. Relations are used in hierarchy scenarios to obtain data from the parent data item.
Declaration
public IRelation Relation { get; set; }
Property Value
IRelation
The relation. |
Methods
CopyChildTableDefinitionsFrom(TableDefinition)
Copy child table definitions from the source TableDefinition class.
Declaration
public virtual void CopyChildTableDefinitionsFrom(TableDefinition source)
Parameters
TableDefinition
source
|
CopyPropertiesFrom(TableDefinition)
Copy properties from the source TableDefinition class.
Declaration
public virtual void CopyPropertiesFrom(TableDefinition source)
Parameters
TableDefinition
source
|
CreateChildTableDefinition()
Creates a child table definition of the correct inherited type.
Declaration
protected abstract TableDefinition CreateChildTableDefinition()
Returns
TableDefinition
|
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|