ClassBaseListViewGroupVisualItem
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
BaseListViewGroupVisualItem()
Declaration
public BaseListViewGroupVisualItem()
Fields
Properties
IsExpanded
Declaration
[Browsable(false)]
public bool IsExpanded { get; }
Property Value
Methods
CreateChildElements()
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.
Declaration
protected override void CreateChildElements()
Overrides
CreateToggleElement()
Creates the toggle element used for checkbox functionality in the list view item.
Declaration
protected override RadToggleButtonElement CreateToggleElement()
Returns
A new RadToggleButtonElement configured as a checkbox for the item.
Overrides
DrawHorizontalLine(IGraphics)
Draws a horizontal line across the element when text is present, positioning the line based on text alignment and size.
Declaration
protected override void DrawHorizontalLine(IGraphics graphics)
Parameters
graphics
The graphics context used for rendering the horizontal line.
Overrides
DrawHorizontalLineTextWithImage(IGraphics)
Declaration
protected virtual void DrawHorizontalLineTextWithImage(IGraphics graphics)
Parameters
graphics
DrawHorizontalLineTextWithoutImage(IGraphics)
Declaration
protected virtual void DrawHorizontalLineTextWithoutImage(IGraphics graphics)
Parameters
graphics
DrawHorizontalLineWithoutText(IGraphics)
Draws a horizontal line across the element when no text is present and ShowHorizontalLine is enabled.
Declaration
protected override void DrawHorizontalLineWithoutText(IGraphics graphics)
Parameters
graphics
The graphics context used for rendering the horizontal line.
Overrides
GetCheckBoxesPosition()
Gets the checkbox position setting from the owner list view for checkbox placement within this visual item.
Declaration
protected override CheckBoxesPosition GetCheckBoxesPosition()
Returns
The CheckBoxesPosition indicating where checkboxes should be positioned.
Overrides
IsCompatible(ListViewDataItem, object)
Determines whether this visual item is compatible with the specified data item and context for reuse in virtualization.
Declaration
public override bool IsCompatible(ListViewDataItem data, object context)
Parameters
data
The ListViewDataItem to check compatibility with.
context
Additional context information for the compatibility check.
Returns
True if this visual item can be reused for the specified data item; otherwise, false.
Overrides
OnDoubleClick(EventArgs)
Handles the double-click event and notifies the owner list view of item double-click interactions.
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events, specifically managing hot tracking behavior based on mouse over state and owner settings.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The RadPropertyChangedEventArgs containing property change information.
Overrides
OnToggleButtonStateChanging(StateChangingEventArgs)
Handles the toggle button state changing event and updates the associated data item's check state.
Declaration
protected override bool OnToggleButtonStateChanging(StateChangingEventArgs args)
Parameters
args
The StateChangingEventArgs containing state change information.
Returns
True if the state change should be cancelled; otherwise, false.
Overrides
PaintContent(IGraphics)
Orchestrates the painting of all content elements including background image, main image or SVG image, and text.
Declaration
protected override void PaintContent(IGraphics graphics)
Parameters
graphics
The graphics context used for rendering content.
Overrides
PaintText(IGraphics)
Renders the text content of the element, including horizontal line effects when enabled.
Declaration
protected override void PaintText(IGraphics graphics)
Parameters
graphics
The graphics context used for rendering text.
Overrides
SynchronizeProperties()
Synchronizes the visual properties of this item with the associated data item including appearance, checkbox state, text, images, and styling properties.
Declaration
protected override void SynchronizeProperties()
Overrides