New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class DataCellsPresenter : ItemsControl

Inheritance: objectDataCellsPresenter

Constructors

Initializes a new instance of the DataCellsPresenter class.

C#
public DataCellsPresenter()

Properties

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.

C#
public object Item { get; }

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

C#
public GridViewRowItem RadRowItem { get; }

Methods

C#
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObjectitemobject
C#
protected override DependencyObject GetContainerForItemOverride()
Returns:

DependencyObject

C#
public override void OnApplyTemplate()
Remarks:

Creates data cells.

Notification from the GridViewDataControl that the columns collection has changed.

C#
protected virtual void OnColumnsChanged(ObservableCollection<GridViewColumn> columns, NotifyCollectionChangedEventArgs e)
Parameters:columnsObservableCollection<GridViewColumn>

The columns collection.

eNotifyCollectionChangedEventArgs

The event arguments from the collection's change event.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

Called when the value of the Item property changes.

C#
protected virtual void OnItemChanged(object oldItem, object newItem)
Parameters:oldItemobject

The old value of Item.

newItemobject

The new value of Item.

C#
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObjectitemobject