Expander
control but with ToggleSwitch
instead of ExpandCollapseChevron
#10146
Unanswered
tom-huntington
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want an
Expander
control that (instead of a Chevron) has aToggleSwitch
that is on when expanded and off when collapsed.This control would visually represent a
std::optional<struct>
.I found the code responsible is here:
microsoft-ui-xaml/src/controls/dev/Expander/Expander.xaml
Line 111 in d74a033
which uses
Style="{StaticResource ExpanderHeaderDownStyle}"
to implement the Chevron. The style is defined here:microsoft-ui-xaml/src/controls/dev/Expander/Expander_themeresources.xaml
Lines 295 to 500 in d74a033
Beta Was this translation helpful? Give feedback.
All reactions