ClassExpandableViewHeader
Represents the base class for expandable view headers that provide expand/collapse functionality.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public abstract class ExpandableViewHeader : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewExpandableViewHeader
Derived Classes:
Implements:
Inherited Members
Constructors
ExpandableViewHeader()
Initializes a new instance of the ExpandableViewHeader class.
Declaration
public ExpandableViewHeader()
Fields
ActualTextStyleProperty
Identifies the ActualTextStyle property.
Declaration
public static readonly BindableProperty ActualTextStyleProperty
Field Value
BindableProperty
IndicatorAnimationDurationProperty
Identifies the IndicatorAnimationDuration property.
Declaration
public static readonly BindableProperty IndicatorAnimationDurationProperty
Field Value
BindableProperty
IndicatorAnimationEasingProperty
Identifies the IndicatorAnimationEasing property.
Declaration
public static readonly BindableProperty IndicatorAnimationEasingProperty
Field Value
BindableProperty
IndicatorColorProperty
Identifies the IndicatorColor property.
Declaration
public static readonly BindableProperty IndicatorColorProperty
Field Value
BindableProperty
IndicatorFontFamilyProperty
Identifies the IndicatorFontFamily property.
Declaration
public static readonly BindableProperty IndicatorFontFamilyProperty
Field Value
BindableProperty
IndicatorFontSizeProperty
Identifies the IndicatorFontSize property.
Declaration
public static readonly BindableProperty IndicatorFontSizeProperty
Field Value
BindableProperty
IndicatorLocationProperty
Identifies the IndicatorLocation property.
Declaration
public static readonly BindableProperty IndicatorLocationProperty
Field Value
BindableProperty
IndicatorMarginProperty
Identifies the IndicatorMargin property.
Declaration
public static readonly BindableProperty IndicatorMarginProperty
Field Value
BindableProperty
IndicatorTextProperty
Identifies the IndicatorText property.
Declaration
public static readonly BindableProperty IndicatorTextProperty
Field Value
BindableProperty
IsAnimationEnabledProperty
Identifies the IsAnimationEnabled property.
Declaration
public static readonly BindableProperty IsAnimationEnabledProperty
Field Value
BindableProperty
IsExpandedProperty
Identifies the IsExpanded property.
Declaration
public static readonly BindableProperty IsExpandedProperty
Field Value
BindableProperty
MinimumHeightRequestProperty
Identifies the MinimumHeightRequest property.
Declaration
public static readonly BindableProperty MinimumHeightRequestProperty
Field Value
BindableProperty
TextProperty
Identifies the Text property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
BindableProperty
TextStyleProperty
Identifies the TextStyle property.
Declaration
public static readonly BindableProperty TextStyleProperty
Field Value
BindableProperty
ToggleExpandCommandProperty
Identifies the ToggleExpandCommand property.
Declaration
public static readonly BindableProperty ToggleExpandCommandProperty
Field Value
BindableProperty
Properties
ActualTextStyle
Gets the actual style that is used to style the text.
Declaration
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
public int IndicatorAnimationDuration { get; set; }
Property Value
The animation duration in milliseconds.
IndicatorAnimationEasing
Gets or sets the easing function used for the indicator rotation animation.
Declaration
[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
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
public string IndicatorFontFamily { get; set; }
Property Value
The font family name for the indicator.
IndicatorFontSize
Gets or sets the font size for the expand/collapse indicator text.
Declaration
public double IndicatorFontSize { get; set; }
Property Value
The font size for the indicator.
IndicatorLocation
Gets or sets the location of the expand/collapse indicator within the header.
Declaration
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
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
public string IndicatorText { get; set; }
Property Value
The text string displayed as the indicator.
IsAnimationEnabled
Gets a value indicating whether animation is enabled for the indicator rotation.
Declaration
public bool IsAnimationEnabled { get; }
Property Value
true
if animation is enabled; otherwise, false
.
IsExpanded
Gets a value indicating whether the header is in expanded state.
Declaration
public bool IsExpanded { get; }
Property Value
true
if the header is expanded; otherwise, false
.
MinimumHeightRequest
Gets or sets the minimum height request for the header.
Declaration
public double MinimumHeightRequest { get; set; }
Property Value
The minimum height in device-independent units.
Text
Gets or sets the text content displayed in the header.
Declaration
public string Text { get; set; }
Property Value
The text string displayed in the header.
TextStyle
Gets or sets the Style of the header label.
Declaration
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.
Methods
OnPropertyChanged(string)
Called when a property value changes.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
The name of the property that changed.
Overrides