Class
ExpandableViewHeader

Represents the base class for expandable view headers that provide expand/collapse functionality.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public abstract class ExpandableViewHeader : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewExpandableViewHeader

Derived Classes: AccordionItemHeaderExpanderHeader

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members RadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()

Constructors

ExpandableViewHeader()

Initializes a new instance of the ExpandableViewHeader class.

Declaration

cs-api-definition
public ExpandableViewHeader()

Fields

ActualTextStyleProperty

Identifies the ActualTextStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualTextStyleProperty

Field Value

BindableProperty

IndicatorAnimationDurationProperty

Identifies the IndicatorAnimationDuration property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorAnimationDurationProperty

Field Value

BindableProperty

IndicatorAnimationEasingProperty

Identifies the IndicatorAnimationEasing property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorAnimationEasingProperty

Field Value

BindableProperty

IndicatorColorProperty

Identifies the IndicatorColor property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorColorProperty

Field Value

BindableProperty

IndicatorFontFamilyProperty

Identifies the IndicatorFontFamily property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorFontFamilyProperty

Field Value

BindableProperty

IndicatorFontSizeProperty

Identifies the IndicatorFontSize property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorFontSizeProperty

Field Value

BindableProperty

IndicatorLocationProperty

Identifies the IndicatorLocation property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorLocationProperty

Field Value

BindableProperty

IndicatorMarginProperty

Identifies the IndicatorMargin property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorMarginProperty

Field Value

BindableProperty

IndicatorTextProperty

Identifies the IndicatorText property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorTextProperty

Field Value

BindableProperty

IsAnimationEnabledProperty

Identifies the IsAnimationEnabled property.

Declaration

cs-api-definition
public static readonly BindableProperty IsAnimationEnabledProperty

Field Value

BindableProperty

IsExpandedProperty

Identifies the IsExpanded property.

Declaration

cs-api-definition
public static readonly BindableProperty IsExpandedProperty

Field Value

BindableProperty

MinimumHeightRequestProperty

Identifies the MinimumHeightRequest property.

Declaration

cs-api-definition
public static readonly BindableProperty MinimumHeightRequestProperty

Field Value

BindableProperty

TextProperty

Identifies the Text property.

Declaration

cs-api-definition
public static readonly BindableProperty TextProperty

Field Value

BindableProperty

TextStyleProperty

Identifies the TextStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty TextStyleProperty

Field Value

BindableProperty

ToggleExpandCommandProperty

Identifies the ToggleExpandCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty ToggleExpandCommandProperty

Field Value

BindableProperty

Properties

ActualTextStyle

Gets the actual style that is used to style the text.

Declaration

cs-api-definition
public Style ActualTextStyle { get; }

Property Value

Style

The Style applied to the text content.

IndicatorAnimationDuration

Gets or sets the duration in milliseconds for the indicator rotation animation.

Declaration

cs-api-definition
public int IndicatorAnimationDuration { get; set; }

Property Value

int

The animation duration in milliseconds.

IndicatorAnimationEasing

Gets or sets the easing function used for the indicator rotation animation.

Declaration

cs-api-definition
[TypeConverter(typeof(EasingTypeConverter))]
public Easing IndicatorAnimationEasing { get; set; }

Property Value

Easing

The Easing function for the rotation animation.

IndicatorColor

Gets or sets the color of the expand/collapse indicator.

Declaration

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

Property Value

Color

The Color of the indicator.

IndicatorFontFamily

Gets or sets the font family for the expand/collapse indicator text.

Declaration

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

Property Value

string

The font family name for the indicator.

IndicatorFontSize

Gets or sets the font size for the expand/collapse indicator text.

Declaration

cs-api-definition
public double IndicatorFontSize { get; set; }

Property Value

double

The font size for the indicator.

IndicatorLocation

Gets or sets the location of the expand/collapse indicator within the header.

Declaration

cs-api-definition
public ExpandCollapseIndicatorLocation IndicatorLocation { get; set; }

Property Value

ExpandCollapseIndicatorLocation

An ExpandCollapseIndicatorLocation value specifying the indicator position.

IndicatorMargin

Gets or sets the margin around the expand/collapse indicator.

Declaration

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

Property Value

Thickness

The Thickness specifying the indicator margin.

IndicatorText

Gets or sets the text content of the expand/collapse indicator.

Declaration

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

Property Value

string

The text string displayed as the indicator.

IsAnimationEnabled

Gets a value indicating whether animation is enabled for the indicator rotation.

Declaration

cs-api-definition
public bool IsAnimationEnabled { get; }

Property Value

bool

true if animation is enabled; otherwise, false.

IsExpanded

Gets a value indicating whether the header is in expanded state.

Declaration

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

Property Value

bool

true if the header is expanded; otherwise, false.

MinimumHeightRequest

Gets or sets the minimum height request for the header.

Declaration

cs-api-definition
public double MinimumHeightRequest { get; set; }

Property Value

double

The minimum height in device-independent units.

Text

Gets or sets the text content displayed in the header.

Declaration

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

Property Value

string

The text string displayed in the header.

TextStyle

Gets or sets the Style of the header label.

Declaration

cs-api-definition
public Style TextStyle { get; set; }

Property Value

Style

The Style for the header text.

ToggleExpandCommand

Gets the command that toggles the expand/collapse state of the header.

Declaration

cs-api-definition
public ICommand ToggleExpandCommand { get; }

Property Value

ICommand

The ICommand for toggling expand state.

Methods

OnPropertyChanged(string)

Called when a property value changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

The name of the property that changed.

Overrides RadCompositeContentView.OnPropertyChanged(string)