Class
DataCellsPresenter

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:

cs-api-definition
public class DataCellsPresenter : ItemsControl

Inheritance: objectDataCellsPresenter

Constructors

DataCellsPresenter()

Initializes a new instance of the DataCellsPresenter class.

Declaration

cs-api-definition
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.

Declaration

cs-api-definition
public object Item { get; }

Property Value

object

RadRowItem

Gets or sets the row item for which to create data cells.

Declaration

cs-api-definition
public GridViewRowItem RadRowItem { get; }

Property Value

GridViewRowItem

Methods

ClearContainerForItemOverride(DependencyObject, object)

Declaration

cs-api-definition
protected override void ClearContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

item

object

GetContainerForItemOverride()

Declaration

cs-api-definition
protected override DependencyObject GetContainerForItemOverride()

Returns

DependencyObject

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

Remarks

Creates data cells.

OnColumnsChanged(ObservableCollection<GridViewColumn>, NotifyCollectionChangedEventArgs)

Notification from the GridViewDataControl that the columns collection has changed.

Declaration

cs-api-definition
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

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

OnItemChanged(object, object)

Called when the value of the Item property changes.

Declaration

cs-api-definition
protected virtual void OnItemChanged(object oldItem, object newItem)

Parameters

oldItem

object

The old value of Item.

newItem

object

The new value of Item.

PrepareContainerForItemOverride(DependencyObject, object)

Declaration

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

item

object