We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expander has a HeaderTemplate, but I notice it is not actually applied to the ToggleButton.ContentTemplate that displays the header Default theme
<Style Selector="Expander[ExpandDirection=Down]"> <Setter Property="Template"> <ControlTemplate> <Border Background="{TemplateBinding Background}"> <Grid RowDefinitions="Auto,*"> <ToggleButton Name="PART_toggle" Grid.Row="0" Content="{TemplateBinding Header}" IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" /> <ContentPresenter Name="PART_ContentPresenter" Grid.Row="1" IsVisible="{TemplateBinding IsExpanded}" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Padding="{TemplateBinding Padding}" /> </Grid> </Border> </ControlTemplate> </Setter> </Style>
The text was updated successfully, but these errors were encountered:
Any progress on this?
Sorry, something went wrong.
Can be easily fixed by adding missing content template, if somebody wants to contribute.
I would like to clarify.It doesn't work only in simple theme
Successfully merging a pull request may close this issue.
Expander has a HeaderTemplate, but I notice it is not actually applied to the ToggleButton.ContentTemplate that displays the header
Default theme
The text was updated successfully, but these errors were encountered: