New to Telerik UI for .NET MAUI? Start a free 30-day trial

Represents a container view for an item displayed by RadCarousel.

Definition

Namespace:Telerik.Maui.Controls.Carousel

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadCarouselItemView : RadBorder, IRadBorder, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadBorderRadCarouselItemView

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

Initializes a new instance of the RadCarouselItemView class. Creates an item container for carousel content.

C#
public RadCarouselItemView()

Fields

BindableProperty

Identifies the IsHighlighted bindable property.

C#
public static readonly BindableProperty IsHighlightedProperty

BindableProperty

Identifies the IsMouseOver bindable property.

C#
public static readonly BindableProperty IsMouseOverProperty

BindableProperty

Identifies the IsPressed bindable property.

C#
public static readonly BindableProperty IsPressedProperty

BindableProperty

Identifies the Style bindable property.

C#
public static readonly BindableProperty StyleProperty

Properties

Gets a value indicating whether this item view is the highlighted item of the carousel.

C#
public bool IsHighlighted { get; }

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.

C#
public bool IsMouseOver { get; }

Gets a value indicating whether this item view is currently pressed.

C#
public bool IsPressed { get; }

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.

C#
public Style Style { get; set; }

Methods

Changes the visual state of the control.

C#
protected override void ChangeVisualState()

Overrides: RadBorder.ChangeVisualState()

C#
protected override void OnSizeAllocated(double width, double height)
Parameters:widthdoubleheightdouble