ClassDataCellsPresenter
Used as Presenter of data cells of the row. It takes care of creating and displaying data cells.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class DataCellsPresenter : ItemsControl
Inheritance: objectDataCellsPresenter
Constructors
DataCellsPresenter()
Initializes a new instance of the DataCellsPresenter class.
Declaration
public DataCellsPresenter()
Properties
Item
The item that the row represents. This item is an entry in the list of items from the GridViewDataControl. From this item, cells are generated for each column in the GridViewDataControl.
RadRowItem
Gets or sets the row item for which to create data cells.
Declaration
public GridViewRowItem RadRowItem { get; }
Property Value
Methods
ClearContainerForItemOverride(DependencyObject, object)
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
item
GetContainerForItemOverride()
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
DependencyObject
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Remarks
Creates data cells.
OnColumnsChanged(ObservableCollection<GridViewColumn>, NotifyCollectionChangedEventArgs)
Notification from the GridViewDataControl that the columns collection has changed.
Declaration
protected virtual void OnColumnsChanged(ObservableCollection<GridViewColumn> columns, NotifyCollectionChangedEventArgs e)
Parameters
columns
ObservableCollection<GridViewColumn>
The columns collection.
e
NotifyCollectionChangedEventArgs
The event arguments from the collection's change event.
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
OnItemChanged(object, object)
Called when the value of the Item property changes.
PrepareContainerForItemOverride(DependencyObject, object)
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
item