Class SimpleListViewVisualItem
Represents a visual item for the simple list view that displays data items in a straightforward vertical list format. This class provides measurement and arrangement logic for simple list items with support for grouping indentation, checkbox positioning, full row selection, and flexible sizing based on content and layout constraints.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class SimpleListViewVisualItem : 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
SimpleListViewVisualItem()
Declaration
public SimpleListViewVisualItem()
Methods
ArrangeContentCore(RectangleF)
Arranges the content of this visual item within the specified client rectangle, applying group indentation when grouping is enabled and full row selection is active.
Declaration
protected override void ArrangeContentCore(RectangleF clientRect)
Parameters
|
System.Drawing.RectangleF
clientRect
The client rectangle for arranging the content. |
Overrides
Attach(ListViewDataItem, Object)
Attaches this visual item to the specified data item and configures checkbox visibility based on the owner's ShowCheckBoxes setting.
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 for this simple list view visual item, setting the default content alignment to middle-left for consistent text positioning.
Declaration
protected override void CreateChildElements()
Overrides
GetEditorArrangeRectangle(RectangleF)
Gets the arrangement rectangle for editor elements, accounting for checkbox positioning, grouping indentation, view bounds constraints, and right-to-left layout transformation when applicable.
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
MeasureOverride(SizeF)
Measures the desired size of this simple list view visual item, taking into account grouping indentation, checkbox positioning, arbitrary sizing constraints, full row selection, and editor elements when in edit mode.
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. |