Skip to content

Use ToggleButton without Icon #3842

Answered by Keboo
AdamSmasherDerby asked this question in Q&A
Discussion options

You must be logged in to vote

@AdamSmasherDerby can you check you XML namespace inclusions (ie. the xmlns) at the top of the file.

I have a small example here: https://github.com/Keboo/MaterialDesignInXaml.Examples/blob/master/ToggleButton/ToggleButton.SwitchColors/MainWindow.xaml that has a PackIcon inside of a ToggleButton.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@AdamSmasherDerby
Comment options

@AdamSmasherDerby
Comment options

@Keboo
Comment options

Keboo May 1, 2025
Maintainer

Answer selected by AdamSmasherDerby
@AdamSmasherDerby
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants