Language
Edit

SettingsExpander Class

Definition

The SettingsExpander is a collapsable control to host multiple SettingsCards.

[Microsoft.UI.Xaml.Markup.ContentProperty(Name="Content")]
[Microsoft.UI.Xaml.TemplatePart(Name="PART_ItemsRepeater", Type=typeof(Microsoft.UI.Xaml.Controls.ItemsRepeater))]
public class SettingsExpander : Microsoft.UI.Xaml.Controls.Control
[<Microsoft.UI.Xaml.Markup.ContentProperty(Name="Content")>]
[<Microsoft.UI.Xaml.TemplatePart(Name="PART_ItemsRepeater", Type=typeof(Microsoft.UI.Xaml.Controls.ItemsRepeater))>]
type SettingsExpander = class
    inherit Control
Public Class SettingsExpander
Inherits Control
Inheritance
Microsoft.UI.Xaml.Controls.Control
SettingsExpander
Attributes
Microsoft.UI.Xaml.Markup.ContentPropertyAttribute Microsoft.UI.Xaml.TemplatePartAttribute

Constructors

Name Description
SettingsExpander()

The SettingsExpander is a collapsable control to host multiple SettingsCards.

Fields

Name Description
ContentProperty

The backing Microsoft.UI.Xaml.DependencyProperty for the Content property.

DescriptionProperty

The backing Microsoft.UI.Xaml.DependencyProperty for the Description property.

HeaderIconProperty

The backing Microsoft.UI.Xaml.DependencyProperty for the HeaderIcon property.

HeaderProperty

The backing Microsoft.UI.Xaml.DependencyProperty for the Header property.

IsExpandedProperty

The backing Microsoft.UI.Xaml.DependencyProperty for the IsExpanded property.

ItemContainerStyleSelectorProperty

Identifies the ItemContainerStyleSelector DependencyProperty.

ItemsFooterProperty

The backing Microsoft.UI.Xaml.DependencyProperty for the ItemsFooter property.

ItemsHeaderProperty

The backing Microsoft.UI.Xaml.DependencyProperty for the ItemsHeader property.

ItemsProperty

Identifies the Items DependencyProperty.

ItemsSourceProperty

Identifies the ItemsSource DependencyProperty.

ItemTemplateProperty

Identifies the ItemTemplate DependencyProperty.

Properties

Name Description
Content

Gets or sets the Content.

Description

Gets or sets the Description.

Header

Gets or sets the Header.

HeaderIcon

Gets or sets the HeaderIcon.

IsExpanded

Gets or sets the IsExpanded state.

ItemContainerStyleSelector

Gets or sets the value to use for the ItemContainerStyle applied to the inner Microsoft.UI.Xaml.Controls.ItemsRepeater.

Items

Gets or sets the collection of items to display.

ItemsFooter

Gets or sets the ItemsFooter.

ItemsHeader

Gets or sets the ItemsFooter.

ItemsSource

Gets or sets the value to use for the inner Microsoft.UI.Xaml.Controls.ItemsRepeater.ItemsSource.

ItemTemplate

Gets or sets the value to use for the inner Microsoft.UI.Xaml.Controls.ItemsRepeater.ItemTemplate.

Methods

Name Description
OnApplyTemplate() Microsoft.UI.Xaml.Controls.Control.OnApplyTemplate
OnCreateAutomationPeer()

Creates AutomationPeer

OnIsExpandedPropertyChanged(Boolean, Boolean) Microsoft.UI.Xaml.Controls.Control.OnIsExpandedPropertyChanged(System.Boolean,System.Boolean)

Events

Name Description
Collapsed

Fires when the expander is closed

Expanded

Fires when the SettingsExpander is opened

Applies to