ClassDetailListViewCellElement
Represents an abstract base class for cell elements in detail view of RadListView. This class provides virtualization support for column-based data display and implements the core functionality for column binding, property synchronization, and cell formatting within the details view layout.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class DetailListViewCellElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<ListViewDetailColumn>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementDetailListViewCellElement
Derived Classes:
Implements:
Inherited Members
Constructors
DetailListViewCellElement(ListViewDetailColumn)
Initializes a new instance of the DetailListViewCellElement class with the specified column.
Declaration
public DetailListViewCellElement(ListViewDetailColumn column)
Parameters
column
The ListViewDetailColumn that this cell element will represent.
Fields
CurrentProperty
Identifies the Current dependency property which indicates whether this cell element represents the current column.
IsSortedProperty
Identifies the IsSorted dependency property which indicates whether this cell element's column is currently sorted.
column
The associated ListViewDetailColumn that this cell element represents.
Declaration
protected ListViewDetailColumn column
Field Value
Properties
Data
Gets the ListViewDetailColumn data associated with this cell element.
Declaration
public virtual ListViewDetailColumn Data { get; }
Property Value
The ListViewDetailColumn that this cell element represents.
Implements
Methods
Attach(ListViewDetailColumn, object)
Attaches this cell element to the specified column data and synchronizes the visual state.
Declaration
public virtual void Attach(ListViewDetailColumn data, object context)
Parameters
data
The ListViewDetailColumn to attach to this cell element.
context
Additional context information for the attachment operation.
Implements
CreateChildElements()
Creates and configures the child elements of this cell element, setting up drag-drop support and input handling.
Declaration
protected override void CreateChildElements()
Overrides
Detach()
Detaches this cell element from its associated column data and resets the visual state.
Declaration
public virtual void Detach()
Implements
DisposeManagedResources()
Disposes managed resources by detaching from the associated column data before performing base disposal.
Declaration
protected override void DisposeManagedResources()
Overrides
IsCompatible(ListViewDetailColumn, object)
Determines whether this cell element is compatible with the specified column data for virtualization purposes.
Declaration
public virtual bool IsCompatible(ListViewDetailColumn data, object context)
Parameters
data
The ListViewDetailColumn to check compatibility against.
context
Additional context information for the compatibility check.
Returns
True if this cell element can be reused for the specified column data; otherwise, false.
Implements
MeasureOverride(SizeF)
Measures the desired size of this cell element, taking into account the column width unless specifically ignored.
OnColumnPropertyChanged(object, PropertyChangedEventArgs)
Handles property changes from the associated column and triggers synchronization of the cell visual state.
Declaration
protected virtual void OnColumnPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
sender
The ListViewDetailColumn that raised the property change event.
e
The PropertyChangedEventArgs containing information about the changed property.
Synchronize()
Synchronizes the visual properties of this cell element with the associated column data including text, current state, sorting status, and triggers cell formatting.
Declaration
public virtual void Synchronize()
Implements