Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class BaseListViewGroupVisualItem : BaseListViewVisualItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<ListViewDataItem>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementBaseListViewVisualItemBaseListViewGroupVisualItem...
Derived Classes:
Implements:
Inherited Members
Constructors
public BaseListViewGroupVisualItem()
Fields
public static RadProperty ExpandedProperty
Properties
[Browsable(false)]
public bool IsExpanded { get; }
Methods
Creates the child elements for the list view visual item including the toggle element for checkbox functionality. Configures default properties for stretching, alignment, drag-drop support, and visual appearance.
protected override void CreateChildElements()
Overrides:
Creates the toggle element used for checkbox functionality in the list view item.
protected override RadToggleButtonElement CreateToggleElement()
A new RadToggleButtonElement configured as a checkbox for the item.
Overrides:
Draws a horizontal line across the element when text is present, positioning the line based on text alignment and size.
protected override void DrawHorizontalLine(IGraphics graphics)
The graphics context used for rendering the horizontal line.
Overrides:
protected virtual void DrawHorizontalLineTextWithImage(IGraphics graphics)
protected virtual void DrawHorizontalLineTextWithoutImage(IGraphics graphics)
Draws a horizontal line across the element when no text is present and ShowHorizontalLine is enabled.
protected override void DrawHorizontalLineWithoutText(IGraphics graphics)
The graphics context used for rendering the horizontal line.
Overrides:
Gets the checkbox position setting from the owner list view for checkbox placement within this visual item.
protected override CheckBoxesPosition GetCheckBoxesPosition()
The CheckBoxesPosition indicating where checkboxes should be positioned.
Overrides:
Determines whether this visual item is compatible with the specified data item and context for reuse in virtualization.
public override bool IsCompatible(ListViewDataItem data, object context)
The ListViewDataItem to check compatibility with.
contextobjectAdditional context information for the compatibility check.
Returns:True if this visual item can be reused for the specified data item; otherwise, false.
Overrides:
Handles property change events, specifically managing hot tracking behavior based on mouse over state and owner settings.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The RadPropertyChangedEventArgs containing property change information.
Overrides:
Handles the toggle button state changing event and updates the associated data item's check state.
protected override bool OnToggleButtonStateChanging(StateChangingEventArgs args)
The StateChangingEventArgs containing state change information.
Returns:True if the state change should be cancelled; otherwise, false.
Overrides:
Orchestrates the painting of all content elements including background image, main image or SVG image, and text.
protected override void PaintContent(IGraphics graphics)
The graphics context used for rendering content.
Overrides:
Renders the text content of the element, including horizontal line effects when enabled.
protected override void PaintText(IGraphics graphics)
The graphics context used for rendering text.
Overrides:
Synchronizes the visual properties of this item with the associated data item including appearance, checkbox state, text, images, and styling properties.
protected override void SynchronizeProperties()
Overrides: