@@ -22,6 +22,7 @@ Controls\Ported\LoopingSelector\LoopingSelector.xaml
2222Controls\Ported\PagerControl\PagerControl.xaml
2323Controls\Ported\SamplePanel\SamplePanel.xaml
2424Controls\Ported\SettingsCard\SettingsCard.xaml
25+ Controls\Ported\SettingsCardAndExpander\SettingsCardAndExpander.xaml
2526Controls\Ported\SettingsExpander\SettingsExpander.xaml
2627Controls\Ported\Sidebar\SidebarStyles.xaml
2728Controls\Ported\Sidebar\SidebarView.ThemeResources.xaml
@@ -18405,6 +18406,9 @@ Themes\Styles\Controls\WaveProgressBar.xaml
1840518406 </Setter>
1840618407 </Style.Setters>
1840718408 </Style>
18409+ <Style x:Key="DefaultNestedSettingsCardStyle" BasedOn="{StaticResource DefaultSettingsCardStyle}" TargetType="local:SettingsCard">
18410+ <Setter Property="Padding" Value="116,8,44,8" />
18411+ </Style>
1840818412 <Style x:Key="DefaultSettingsExpanderItemStyle" BasedOn="{StaticResource DefaultSettingsCardStyle}" TargetType="local:SettingsCard">
1840918413 <Style.Setters>
1841018414 <Setter Property="BorderThickness" Value="{ThemeResource SettingsExpanderItemBorderThickness}" />
@@ -18825,6 +18829,11 @@ Themes\Styles\Controls\WaveProgressBar.xaml
1882518829 <Style BasedOn="{StaticResource DefaultWaveProgressBarStyle}" TargetType="local:WaveProgressBar" />
1882618830 <Style BasedOn="{StaticResource DefaultBreadcrumbBarItemStyle}" TargetType="local:BreadcrumbBarItem" />
1882718831 <Style BasedOn="{StaticResource DefaultSettingsCardStyle}" TargetType="local:SettingsCard" />
18832+ <Style x:Key="DefaultNestedClickableSettingsCardStyle" BasedOn="{StaticResource DefaultSettingsExpanderItemStyle}" TargetType="local:SettingsCard">
18833+ <Style.Setters>
18834+ <Setter Property="Padding" Value="116,8,16,8" />
18835+ </Style.Setters>
18836+ </Style>
1882818837 <Style x:Key="DefaultSettingsExpanderStyle" TargetType="local:SettingsExpander">
1882918838 <Style.Setters>
1883018839 <Setter Property="Background" Value="{ThemeResource SettingsCardBackground}" />
@@ -19105,5 +19114,36 @@ Themes\Styles\Controls\WaveProgressBar.xaml
1910519114 <Style BasedOn="{StaticResource DefaultOutOfBoxPageStyle}" TargetType="local:OutOfBoxPage" />
1910619115 <Style BasedOn="{StaticResource DefaultPinBoxStyle}" TargetType="local:PinBox" />
1910719116 <Style BasedOn="{StaticResource DefaultStepBarStyle}" TargetType="local:StepBar" />
19117+ <Style x:Key="DefaultNestedSettingsExpanderStyle" BasedOn="{StaticResource DefaultSettingsExpanderStyle}" TargetType="local:SettingsExpander">
19118+ <Setter Property="Padding" Value="{StaticResource SettingsExpanderItemPadding}" />
19119+ <Setter Property="CornerRadius" Value="0" />
19120+ <Setter Property="Template">
19121+ <Setter.Value>
19122+ <ControlTemplate TargetType="local:SettingsExpander">
19123+ <Expander MinWidth="{TemplateBinding MinWidth}" MinHeight="{TemplateBinding MinHeight}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" CornerRadius="{TemplateBinding CornerRadius}" IsExpanded="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Style="{StaticResource SettingsExpanderExpanderStyle}">
19124+ <Expander.Header>
19125+ <local:SettingsCard Padding="{TemplateBinding Padding}" VerticalAlignment="Center" Background="Transparent" BorderThickness="0" Content="{TemplateBinding Content}" Description="{TemplateBinding Description}" FontFamily="{TemplateBinding FontFamily}" Header="{TemplateBinding Header}" HeaderIcon="{TemplateBinding HeaderIcon}" IsClickEnabled="False" />
19126+ </Expander.Header>
19127+ <Expander.Content>
19128+ <Grid CornerRadius="{Binding CornerRadius, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource CornerRadiusConverter}}">
19129+ <Grid.RowDefinitions>
19130+ <RowDefinition Height="Auto" />
19131+ <RowDefinition Height="*" />
19132+ <RowDefinition Height="Auto" />
19133+ </Grid.RowDefinitions>
19134+ <ContentPresenter Content="{TemplateBinding ItemsHeader}" />
19135+ <ItemsRepeater x:Name="PART_ItemsRepeater" Grid.Row="1" ItemTemplate="{Binding ItemTemplate, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" TabFocusNavigation="Local">
19136+ <ItemsRepeater.Layout>
19137+ <StackLayout Orientation="Vertical" />
19138+ </ItemsRepeater.Layout>
19139+ </ItemsRepeater>
19140+ <ContentPresenter Grid.Row="2" Content="{TemplateBinding ItemsFooter}" />
19141+ </Grid>
19142+ </Expander.Content>
19143+ </Expander>
19144+ </ControlTemplate>
19145+ </Setter.Value>
19146+ </Setter>
19147+ </Style>
1910819148 <Style BasedOn="{StaticResource DefaultSettingsExpanderStyle}" TargetType="local:SettingsExpander" />
1910919149</ResourceDictionary>
0 commit comments