PopupBox
Pages 35
Home
Contributing
Compiling From Source
Glossary
Getting Started with MDIX
Getting Started
Super Quick Start
Tutorial On YouTube
Frequently Asked Questions
Examples Repository
Release Notes
Pack Icon Changes
2.0.0 Breaking Changes
Controls
All Control Styles
Buttons
ComboBox
Dialogs
PopupBox
Snackbar
TextBox
Toggle Button
Transitions
Icons
Theming
Advanced Theming
Brush Names
Custom Palette Hues
Fonts
Overriding Material Design Styles
Swatches and Recommended Colors
Miscellaneous
MahApps Integration
Performance
Strong Naming
.NET 4.0 Compatibility
Projects using Material Design
Understanding Routed Commands
Clone this wiki locally
The popup box is a helper control that functionally consists of a ToggleButton that you click on to show some content in a Popup.
Change the default icon
By default the PopupBox uses the built-in PackIcon.DotsVertical as the ToggleButton's content, however you can change the content to be anything you want.
As a simple example you can change the content to be a different PackIcon like this:
<materialDesign:PopupBox>
<materialDesign:PopupBox.ToggleContent>
<materialDesign:PackIcon Kind="DotsHorizontal" />
</materialDesign:PopupBox.ToggleContent>
</materialDesign:PopupBox>If you see any mistake or want to contribute to this wiki feel free.