New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents an expandable item in an accordion control that contains a header and collapsible content.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class AccordionItem : RadLayout

Inheritance: objectRadLayoutAccordionItem

Inherited Members RadLayout.CreateLayoutManager()

Constructors

Initializes a new instance of the AccordionItem class.

C#
public AccordionItem()

Fields

BackgroundColorProperty

BindableProperty

Identifies theBackgroundColor property.

C#
public static readonly BindableProperty BackgroundColorProperty

BackgroundProperty

BindableProperty

Identifies theBackground property.

C#
public static readonly BindableProperty BackgroundProperty

BorderColorProperty

BindableProperty

Identifies theBorderColor property.

C#
public static readonly BindableProperty BorderColorProperty

BorderThicknessProperty

BindableProperty

Identifies theBorderThickness property.

C#
public static readonly BindableProperty BorderThicknessProperty

ContentProperty

BindableProperty

Identifies theContent property.

C#
public static readonly BindableProperty ContentProperty

CornerRadiusProperty

BindableProperty

Identifies theCornerRadius property.

C#
public static readonly BindableProperty CornerRadiusProperty

HeaderProperty

BindableProperty

Identifies theHeader property.

C#
public static readonly BindableProperty HeaderProperty

HeaderTextProperty

BindableProperty

Identifies theHeaderText property.

C#
public static readonly BindableProperty HeaderTextProperty

IsExpandedProperty

BindableProperty

Identifies theIsExpanded property.

C#
public static readonly BindableProperty IsExpandedProperty

Properties

Gets or sets the brush that fills the area within the AccordionItem.

C#
public Brush Background { get; set; }

Gets or sets the color that fills the area within the AccordionItem.

C#
public Color BackgroundColor { get; set; }

Gets or sets the color of the item's border.

C#
public Color BorderColor { get; set; }

Gets or sets the thickness of the item's border.

C#
public Thickness BorderThickness { get; set; }

Gets or sets the object that appears underneath the Header when expanded.

C#
public object Content { get; set; }

CornerRadius

Thickness

Gets or sets the corner radius of the item's border.

C#
public Thickness CornerRadius { get; set; }

Gets or sets the AccordionItemHeader instance that is visualized as the header for the AccordionItem.

C#
public AccordionItemHeader Header { get; set; }

Gets or sets the text displayed in the item's header. Setting the Header property will overwrite the HeaderText.

C#
public string HeaderText { get; set; }

Gets or sets a value indicating whether the AccordionItem is expanded.

C#
public bool IsExpanded { get; set; }