ClassRadAccordion
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
RadAccordion()
Initializes a new instance of the RadAccordion class.
Declaration
public RadAccordion()
Fields
AnimationDurationProperty
Identifies theAnimationDuration property.
Declaration
public static readonly BindableProperty AnimationDurationProperty
Field Value
BindableProperty
AnimationEasingProperty
Identifies theAnimationEasing property.
Declaration
public static readonly BindableProperty AnimationEasingProperty
Field Value
BindableProperty
CanCollapseAllItemsProperty
Identifies theCanCollapseAllItems property.
Declaration
public static readonly BindableProperty CanCollapseAllItemsProperty
Field Value
BindableProperty
CanExpandMultipleItemsProperty
Identifies the CanExpandMultipleItems property.
Declaration
public static readonly BindableProperty CanExpandMultipleItemsProperty
Field Value
BindableProperty
IsAnimationEnabledProperty
Identifies theIsAnimationEnabled property.
Declaration
public static readonly BindableProperty IsAnimationEnabledProperty
Field Value
BindableProperty
SpacingProperty
Identifies theSpacing property.
Declaration
public static readonly BindableProperty SpacingProperty
Field Value
BindableProperty
Properties
AnimationDuration
Gets or sets the duration of the expand/collapse animation.
AnimationEasing
Gets or sets the easing of the expand/collapse animation.
Declaration
[TypeConverter(typeof(EasingTypeConverter))]
public Easing AnimationEasing { get; set; }
Property Value
Easing
CanCollapseAllItems
Gets or sets a value indicating whether all items can be collapsed.
CanExpandMultipleItems
Gets or sets a value indicating whether more than one item can be expanded.
IsAnimationEnabled
Gets or sets a value indicating whether the expand/collapse animation is enabled.
Items
Gets the collection of AccordionItems, describing the individual items of the control.
Declaration
public IList<AccordionItem> Items { get; }
Property Value
Methods
OnChildAdded(Element)
Declaration
protected override void OnChildAdded(Element child)
Parameters
child
Element
OnChildRemoved(Element, int)
Declaration
protected override void OnChildRemoved(Element child, int oldLogicalIndex)
Parameters
child
Element
oldLogicalIndex