Class DetailListViewVisualItem
Represents a visual item element for displaying data items in the details view of RadListView. This element manages a collection of data cells arranged horizontally in columns, providing column-based data visualization with support for toggle elements, cell editing, and proper layout handling including RTL support.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class DetailListViewVisualItem : BaseListViewVisualItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<ListViewDataItem>
Constructors
DetailListViewVisualItem()
Declaration
public DetailListViewVisualItem()
Properties
CellsContainer
Gets the container element that hosts the data cell elements representing the column values for this visual item.
Declaration
public DetailListViewColumnContainer CellsContainer { get; }
Property Value
|
DetailListViewColumnContainer
|
Text
Gets or sets the text content of this visual item. For details view items, this property returns an empty string as text content is displayed through individual data cells.
Declaration
public override string Text { get; set; }
Property Value
|
System.String
|
Overrides
Methods
ArrangeOverride(SizeF)
Arranges the child elements including toggle element, cell container, and editor element within the final size, handling RTL layout and editor positioning.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
|
System.Drawing.SizeF
finalSize
The final size for arrangement. |
Returns
|
System.Drawing.SizeF
The actual System.Drawing.SizeF used for arrangement. |
Overrides
Attach(ListViewDataItem, Object)
Attaches this visual item to the specified data item, configuring checkbox visibility and cell container setup.
Declaration
public override void Attach(ListViewDataItem data, object context)
Parameters
|
ListViewDataItem
data
The ListViewDataItem to attach to this visual item. |
|
System.Object
context
Additional context information for the attachment operation. |
Overrides
CreateChildElements()
Creates and configures the child elements including the cell container for hosting data cell elements.
Declaration
protected override void CreateChildElements()
Overrides
Detach()
Detaches this visual item from its associated data item and cleans up event subscriptions.
Declaration
public override void Detach()
Overrides
GetEditorArrangeRectangle(RectangleF)
Gets the arrangement rectangle for editor elements based on the current column's cell position and dimensions, with RTL layout support.
Declaration
protected override RectangleF GetEditorArrangeRectangle(RectangleF clientRect)
Parameters
|
System.Drawing.RectangleF
clientRect
The client rectangle for layout calculations. |
Returns
|
System.Drawing.RectangleF
The System.Drawing.RectangleF defining the editor's arrangement area. |
Overrides
IsCompatible(ListViewDataItem, Object)
Determines whether this visual item is compatible with the specified data item for virtualization purposes. Compatible with non-group data items in details view mode.
Declaration
public override bool IsCompatible(ListViewDataItem data, object context)
Parameters
|
ListViewDataItem
data
The ListViewDataItem to check compatibility against. |
|
System.Object
context
Additional context information for the compatibility check. |
Returns
|
System.Boolean
True if compatible with non-group items in details view; otherwise, false. |
Overrides
MeasureOverride(SizeF)
Measures the desired size of this visual item including cell container, toggle element, and editor if present, respecting item height constraints and full row selection settings.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
|
System.Drawing.SizeF
availableSize
The available size for measurement. |
Returns
|
System.Drawing.SizeF
The desired System.Drawing.SizeF of this visual item. |
Overrides
SynchronizeProperties()
Synchronizes the visual properties of this item and all contained data cells with their associated data sources.
Declaration
protected override void SynchronizeProperties()