Defines the item effects applied at different positions relative to the viewport center when AreItemEffectsEnabled is enabled.
Definition
Namespace:Telerik.Maui.Controls.Carousel
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class CarouselItemEffectSettings : BindableObject
Inheritance: objectCarouselItemEffectSettings
Constructors
Initializes a new instance of the CarouselItemEffectSettings class.
public CarouselItemEffectSettings()
Fields
HighlightedProperty
BindableProperty
Identifies the Highlighted bindable property.
public static readonly BindableProperty HighlightedProperty
NextProperty
BindableProperty
Identifies the Next bindable property.
public static readonly BindableProperty NextProperty
NormalProperty
BindableProperty
Identifies the Normal bindable property.
public static readonly BindableProperty NormalProperty
PreviousProperty
BindableProperty
Identifies the Previous bindable property.
public static readonly BindableProperty PreviousProperty
Properties
Gets or sets the effects for the item centered in the viewport. By default, the scale and opacity are both 1. The value cannot be null.
public CarouselItemEffect Highlighted { get; set; }
Gets or sets the effects for an item one position after the viewport center. By default, the scale is 0.8 and the opacity is 0.6. The value cannot be null.
public CarouselItemEffect Next { get; set; }
Gets or sets the effects for items at least two positions from the viewport center. By default, the scale is 0.8 and the opacity is 0.6. The value cannot be null.
public CarouselItemEffect Normal { get; set; }
Gets or sets the effects for an item one position before the viewport center. By default, the scale is 0.8 and the opacity is 0.6. The value cannot be null.
public CarouselItemEffect Previous { get; set; }