RadAccordion
Represents an accordion control that allows expanding and collapsing of items (AccordionItem). The accordion provides a space-efficient way to display content where users can expand and collapse sections as needed.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadAccordion : RadLayout
Inheritance: objectRadLayoutRadAccordion
Inherited Members
Constructors
Initializes a new instance of the RadAccordion class.
public RadAccordion()
Fields
AnimationDurationProperty
BindableProperty
Identifies theAnimationDuration property.
public static readonly BindableProperty AnimationDurationProperty
AnimationEasingProperty
BindableProperty
Identifies theAnimationEasing property.
public static readonly BindableProperty AnimationEasingProperty
CanCollapseAllItemsProperty
BindableProperty
Identifies theCanCollapseAllItems property.
public static readonly BindableProperty CanCollapseAllItemsProperty
CanExpandMultipleItemsProperty
BindableProperty
Identifies the CanExpandMultipleItems property.
public static readonly BindableProperty CanExpandMultipleItemsProperty
IsAnimationEnabledProperty
BindableProperty
Identifies theIsAnimationEnabled property.
public static readonly BindableProperty IsAnimationEnabledProperty
SpacingProperty
BindableProperty
Identifies theSpacing property.
public static readonly BindableProperty SpacingProperty
Properties
Gets or sets the duration of the expand/collapse animation.
public int AnimationDuration { get; set; }
AnimationEasing
Easing
Gets or sets the easing of the expand/collapse animation.
[TypeConverter(typeof(EasingTypeConverter))]
public Easing AnimationEasing { get; set; }
Gets or sets a value indicating whether all items can be collapsed.
public bool CanCollapseAllItems { get; set; }
Gets or sets a value indicating whether more than one item can be expanded.
public bool CanExpandMultipleItems { get; set; }
Gets or sets a value indicating whether the expand/collapse animation is enabled.
public bool IsAnimationEnabled { get; set; }
Gets the collection of AccordionItems, describing the individual items of the control.
public IList<AccordionItem> Items { get; }
Methods
protected override void OnChildAdded(Element child)
protected override void OnChildRemoved(Element child, int oldLogicalIndex)