Class DataCellsPresenter
Used as Presenter of data cells of the row. It takes care of creating and displaying data cells.
Inheritance
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class DataCellsPresenter : ItemsControl
Constructors
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
public object Item { get; }
Property Value
System.Object
|
RadRowItem
Gets or sets the row item for which to create data cells.
Declaration
public GridViewRowItem RadRowItem { get; }
Property Value
GridViewRowItem
|
Methods
ClearContainerForItemOverride(DependencyObject, Object)
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
|
System.Object
item
|
GetContainerForItemOverride()
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System.Windows.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
System.Collections.ObjectModel.ObservableCollection<GridViewColumn>
columns
The columns collection. |
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
The event arguments from the collection's change event. |
OnItemChanged(Object, Object)
Called when the value of the Item property changes.
Declaration
protected virtual void OnItemChanged(object oldItem, object newItem)
Parameters
System.Object
oldItem
The old value of Item. |
System.Object
newItem
The new value of Item. |
PrepareContainerForItemOverride(DependencyObject, Object)
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
|
System.Object
item
|