Class
AccordionItem

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:

cs-api-definition
public class AccordionItem : RadLayout

Inheritance: objectRadLayoutAccordionItem

Inherited Members RadLayout.CreateLayoutManager()

Constructors

AccordionItem()

Initializes a new instance of the AccordionItem class.

Declaration

cs-api-definition
public AccordionItem()

Fields

BackgroundColorProperty

Identifies theBackgroundColor property.

Declaration

cs-api-definition
public static readonly BindableProperty BackgroundColorProperty

Field Value

BindableProperty

BackgroundProperty

Identifies theBackground property.

Declaration

cs-api-definition
public static readonly BindableProperty BackgroundProperty

Field Value

BindableProperty

BorderColorProperty

Identifies theBorderColor property.

Declaration

cs-api-definition
public static readonly BindableProperty BorderColorProperty

Field Value

BindableProperty

BorderThicknessProperty

Identifies theBorderThickness property.

Declaration

cs-api-definition
public static readonly BindableProperty BorderThicknessProperty

Field Value

BindableProperty

ContentProperty

Identifies theContent property.

Declaration

cs-api-definition
public static readonly BindableProperty ContentProperty

Field Value

BindableProperty

CornerRadiusProperty

Identifies theCornerRadius property.

Declaration

cs-api-definition
public static readonly BindableProperty CornerRadiusProperty

Field Value

BindableProperty

HeaderProperty

Identifies theHeader property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderProperty

Field Value

BindableProperty

HeaderTextProperty

Identifies theHeaderText property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderTextProperty

Field Value

BindableProperty

IsExpandedProperty

Identifies theIsExpanded property.

Declaration

cs-api-definition
public static readonly BindableProperty IsExpandedProperty

Field Value

BindableProperty

Properties

Background

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

Declaration

cs-api-definition
public Brush Background { get; set; }

Property Value

Brush

BackgroundColor

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

Declaration

cs-api-definition
public Color BackgroundColor { get; set; }

Property Value

Color

BorderColor

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

Declaration

cs-api-definition
public Color BorderColor { get; set; }

Property Value

Color

BorderThickness

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

Declaration

cs-api-definition
public Thickness BorderThickness { get; set; }

Property Value

Thickness

Content

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

Declaration

cs-api-definition
public object Content { get; set; }

Property Value

object

CornerRadius

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

Declaration

cs-api-definition
public Thickness CornerRadius { get; set; }

Property Value

Thickness

Header

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

Declaration

cs-api-definition
public AccordionItemHeader Header { get; set; }

Property Value

AccordionItemHeader

HeaderText

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

Declaration

cs-api-definition
public string HeaderText { get; set; }

Property Value

string

IsExpanded

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

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool