Class
RadCollectionViewItemView

Represents a container view for individual data items within a RadCollectionView control. This view wraps the item's visual representation and provides selection, styling, and interaction capabilities.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class RadCollectionViewItemView : RadBorder, IRadBorder, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadBorderRadCollectionViewItemView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadBorderIRadContentViewITransformIView

Inherited Members RadBorder.BorderColorPropertyRadBorder.CornerRadiusPropertyRadBorder.BorderThicknessPropertyRadBorder.BorderBrushPropertyRadBorder.BorderColorRadBorder.CornerRadiusRadBorder.BorderThicknessRadBorder.BorderBrushRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

RadCollectionViewItemView()

Initializes a new instance of the RadCollectionViewItemView class. Creates a new item container ready to host collection view item content.

Declaration

cs-api-definition
public RadCollectionViewItemView()

Fields

ActualPaddingProperty

Identifies the ActualPadding bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualPaddingProperty

Field Value

BindableProperty

GroupLevelIndentationProperty

Identifies the GroupLevelIndentation bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty GroupLevelIndentationProperty

Field Value

BindableProperty

IsCurrentProperty

Identifies the IsCurrent bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty IsCurrentProperty

Field Value

BindableProperty

IsMouseOverProperty

Identifies the IsMouseOver bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty IsMouseOverProperty

Field Value

BindableProperty

IsSelectedProperty

Identifies the IsSelected bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty IsSelectedProperty

Field Value

BindableProperty

PaddingProperty

Identifies the Padding bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty PaddingProperty

Field Value

BindableProperty

StyleProperty

Identifies the Style bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty StyleProperty

Field Value

BindableProperty

Properties

ActualPadding

Gets the actual padding applied to the item content, which combines the Padding value with any group-level indentation. This read-only property automatically calculates the total spacing based on the item's grouping hierarchy and explicit padding settings.

Declaration

cs-api-definition
public Thickness ActualPadding { get; }

Property Value

Thickness

GroupLevelIndentation

Gets or sets the indentation amount applied to items based on their group nesting level. This value accumulates for each nested group level, creating a visual hierarchy in grouped collections.

Declaration

cs-api-definition
public double GroupLevelIndentation { get; set; }

Property Value

double

IsCurrent

Gets a value indicating whether this item view is currently focused for keyboard navigation. This property is primarily used on desktop platforms to highlight the item that has keyboard focus.

Declaration

cs-api-definition
public bool IsCurrent { get; }

Property Value

bool

IsMouseOver

Gets a value indicating whether the mouse cursor is currently hovering over this item view. This property is primarily used on desktop platforms to provide visual feedback for mouse interaction.

Declaration

cs-api-definition
public bool IsMouseOver { get; }

Property Value

bool

IsSelected

Gets or sets a value indicating whether this item is currently selected in the collection view. This property is automatically managed by the collection view's selection behavior.

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

Padding

Gets or sets the padding applied to the content within this item view container. This padding creates space between the item's border and its content.

Declaration

cs-api-definition
public Thickness Padding { get; set; }

Property Value

Thickness

Style

Gets or sets the style applied to this item view container. This style can define visual properties such as background, border, and layout characteristics.

Declaration

cs-api-definition
public Style Style { get; set; }

Property Value

Style

Methods

ChangeVisualState()

Changes the visual state of the control.

Declaration

cs-api-definition
protected override void ChangeVisualState()

Overrides RadBorder.ChangeVisualState()