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
Initializes a new instance of the DetailListViewCellElement class with the specified column.
public DetailListViewCellElement(ListViewDetailColumn column)
The ListViewDetailColumn that this cell element will represent.
Fields
The associated ListViewDetailColumn that this cell element represents.
protected ListViewDetailColumn column
Identifies the Current dependency property which indicates whether this cell element represents the current column.
public static RadProperty CurrentProperty
Identifies the IsSorted dependency property which indicates whether this cell element's column is currently sorted.
public static RadProperty IsSortedProperty
Properties
Gets the ListViewDetailColumn data associated with this cell element.
public virtual ListViewDetailColumn Data { get; }
The ListViewDetailColumn that this cell element represents.
Implements:
Methods
Attaches this cell element to the specified column data and synchronizes the visual state.
public virtual void Attach(ListViewDetailColumn data, object context)
The ListViewDetailColumn to attach to this cell element.
contextobjectAdditional context information for the attachment operation.
Implements:
Creates and configures the child elements of this cell element, setting up drag-drop support and input handling.
protected override void CreateChildElements()
Overrides:
Detaches this cell element from its associated column data and resets the visual state.
public virtual void Detach()
Implements:
Disposes managed resources by detaching from the associated column data before performing base disposal.
protected override void DisposeManagedResources()
Overrides:
Determines whether this cell element is compatible with the specified column data for virtualization purposes.
public virtual bool IsCompatible(ListViewDetailColumn data, object context)
The ListViewDetailColumn to check compatibility against.
contextobjectAdditional context information for the compatibility check.
Returns:True if this cell element can be reused for the specified column data; otherwise, false.
Implements:
Measures the desired size of this cell element, taking into account the column width unless specifically ignored.
Handles property changes from the associated column and triggers synchronization of the cell visual state.
protected virtual void OnColumnPropertyChanged(object sender, PropertyChangedEventArgs e)
The ListViewDetailColumn that raised the property change event.
ePropertyChangedEventArgsThe PropertyChangedEventArgs containing information about the changed property.
Synchronizes the visual properties of this cell element with the associated column data including text, current state, sorting status, and triggers cell formatting.
public virtual void Synchronize()
Implements: