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:
public class AccordionItem : RadLayout
Inheritance: objectRadLayoutAccordionItem
Inherited Members
Constructors
Initializes a new instance of the AccordionItem class.
public AccordionItem()
Fields
BackgroundColorProperty
BindableProperty
Identifies theBackgroundColor property.
public static readonly BindableProperty BackgroundColorProperty
BackgroundProperty
BindableProperty
Identifies theBackground property.
public static readonly BindableProperty BackgroundProperty
BorderColorProperty
BindableProperty
Identifies theBorderColor property.
public static readonly BindableProperty BorderColorProperty
BorderThicknessProperty
BindableProperty
Identifies theBorderThickness property.
public static readonly BindableProperty BorderThicknessProperty
ContentProperty
BindableProperty
Identifies theContent property.
public static readonly BindableProperty ContentProperty
CornerRadiusProperty
BindableProperty
Identifies theCornerRadius property.
public static readonly BindableProperty CornerRadiusProperty
HeaderProperty
BindableProperty
Identifies theHeader property.
public static readonly BindableProperty HeaderProperty
HeaderTextProperty
BindableProperty
Identifies theHeaderText property.
public static readonly BindableProperty HeaderTextProperty
IsExpandedProperty
BindableProperty
Identifies theIsExpanded property.
public static readonly BindableProperty IsExpandedProperty
Properties
Background
Brush
Gets or sets the brush that fills the area within the AccordionItem.
public Brush Background { get; set; }
BackgroundColor
Color
Gets or sets the color that fills the area within the AccordionItem.
public Color BackgroundColor { get; set; }
BorderColor
Color
Gets or sets the color of the item's border.
public Color BorderColor { get; set; }
BorderThickness
Thickness
Gets or sets the thickness of the item's border.
public Thickness BorderThickness { get; set; }
Gets or sets the object that appears underneath the Header when expanded.
public object Content { get; set; }
CornerRadius
Thickness
Gets or sets the corner radius of the item's border.
public Thickness CornerRadius { get; set; }
Gets or sets the AccordionItemHeader instance that is visualized as the header for the AccordionItem.
public AccordionItemHeader Header { get; set; }
Gets or sets the text displayed in the item's header. Setting the Header property will overwrite the HeaderText.
public string HeaderText { get; set; }
Gets or sets a value indicating whether the AccordionItem is expanded.
public bool IsExpanded { get; set; }