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

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

Definition

Constructors

Initializes a new instance of the ExpandableViewHeader class.

C#
public ExpandableViewHeader()

Fields

ActualTextStyleProperty

BindableProperty

Identifies the ActualTextStyle property.

C#
public static readonly BindableProperty ActualTextStyleProperty

Identifies the IndicatorAnimationDuration property.

C#
public static readonly BindableProperty IndicatorAnimationDurationProperty

Identifies the IndicatorAnimationEasing property.

C#
public static readonly BindableProperty IndicatorAnimationEasingProperty

IndicatorColorProperty

BindableProperty

Identifies the IndicatorColor property.

C#
public static readonly BindableProperty IndicatorColorProperty

Identifies the IndicatorFontFamily property.

C#
public static readonly BindableProperty IndicatorFontFamilyProperty

Identifies the IndicatorFontSize property.

C#
public static readonly BindableProperty IndicatorFontSizeProperty

Identifies the IndicatorLocation property.

C#
public static readonly BindableProperty IndicatorLocationProperty

IndicatorMarginProperty

BindableProperty

Identifies the IndicatorMargin property.

C#
public static readonly BindableProperty IndicatorMarginProperty

IndicatorTextProperty

BindableProperty

Identifies the IndicatorText property.

C#
public static readonly BindableProperty IndicatorTextProperty

Identifies the IsAnimationEnabled property.

C#
public static readonly BindableProperty IsAnimationEnabledProperty

IsExpandedProperty

BindableProperty

Identifies the IsExpanded property.

C#
public static readonly BindableProperty IsExpandedProperty

Identifies the MinimumHeightRequest property.

C#
public static readonly BindableProperty MinimumHeightRequestProperty

TextProperty

BindableProperty

Identifies the Text property.

C#
public static readonly BindableProperty TextProperty

TextStyleProperty

BindableProperty

Identifies the TextStyle property.

C#
public static readonly BindableProperty TextStyleProperty

Identifies the ToggleExpandCommand property.

C#
public static readonly BindableProperty ToggleExpandCommandProperty

Properties

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

C#
public Style ActualTextStyle { get; }
Property Value:

The Style applied to the text content.

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

C#
public int IndicatorAnimationDuration { get; set; }
Property Value:

The animation duration in milliseconds.

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

C#
[TypeConverter(typeof(EasingTypeConverter))]
public Easing IndicatorAnimationEasing { get; set; }
Property Value:

The Easing function for the rotation animation.

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

C#
public Color IndicatorColor { get; set; }
Property Value:

The Color of the indicator.

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

C#
public string IndicatorFontFamily { get; set; }
Property Value:

The font family name for the indicator.

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

C#
public double IndicatorFontSize { get; set; }
Property Value:

The font size for the indicator.

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

C#
public ExpandCollapseIndicatorLocation IndicatorLocation { get; set; }
Property Value:

An ExpandCollapseIndicatorLocation value specifying the indicator position.

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

C#
public Thickness IndicatorMargin { get; set; }
Property Value:

The Thickness specifying the indicator margin.

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

C#
public string IndicatorText { get; set; }
Property Value:

The text string displayed as the indicator.

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

C#
public bool IsAnimationEnabled { get; }
Property Value:

true if animation is enabled; otherwise, false.

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

C#
public bool IsExpanded { get; }
Property Value:

true if the header is expanded; otherwise, false.

Gets or sets the minimum height request for the header.

C#
public double MinimumHeightRequest { get; set; }
Property Value:

The minimum height in device-independent units.

Gets or sets the text content displayed in the header.

C#
public string Text { get; set; }
Property Value:

The text string displayed in the header.

Gets or sets the Style of the header label.

C#
public Style TextStyle { get; set; }
Property Value:

The Style for the header text.

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

C#
public ICommand ToggleExpandCommand { get; }
Property Value:

The ICommand for toggling expand state.

Methods

Called when a property value changes.

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

The name of the property that changed.

Overrides: RadCompositeContentView.OnPropertyChanged(string)