-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Release 2.0.0
Jan Karger ツ ☀ edited this page May 21, 2020
·
9 revisions
- All marked obsolete code were removed
- Drop support for .Net 4.0
- Drop support for .Net 4.5 and move up to 4.5.2
- Support .Net Core 3.0 and 3.1
- Assemblies are strong named again, but AssemblyVersion is now fixed for every major release. This means that, for example, for version 2.1 the AssemblyVersion will still be 2.0. Other versions like AssemblyFileVersion etc. won't be fixed.
- The theming got rewritten, this means that there is no longer a separation between AppTheme and Accent. These got replaced by Theme everywhere.
- Use new updated
GlowWindowBehavior
andBorderlessWindowBehavior
from ControlzEx - Instead of depending on
System.Windows.Interactivity
we now depend on the open source version Microsoft.Xaml.Behaviors.Wpf - Use a ToolBar overflow mechanism for WindowCommands
- Use
TabControlEx
from ControlzEx forBaseMetroTabControl
The theming got rewritten, this means that there is no longer a separation between AppTheme
and Accent
. These got replaced by Theme everywhere.
Instead of something like pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml
and pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml
you now have to use pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml
.
<Application x:Class="WpfApplication.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
<Application x:Class="WpfApplication.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
The keys of various resources got rewritten. This makes it easier to find and use these resources in your applications.
Final naming convention is:
MahApps.
- and the resource type which is one of
Colors.
,Brushes.
,Sizes.
,Font.
,Fonts.
,Storyboard.
,Styles.
,Templates.
- and the target control for Templates and Styles (e.g.
Button.
,Slider.
,Window.
, ...) - an optional specifier which gives more context (e.g.
Slider
forMahApps.Styles.Thumb
which helps understanding that this thumb style is for the context of a slider) - an optional category (e.g.
Metro
,Flat
,Square
,Win10
, ...)
Click to show the list of deleted brushes
Key |
---|
ComboBoxPopupBrush |
MenuItemDisabledBrush |
CheckBoxBackgroundBrush |
WhiteColorBrush |
BlackColorBrush |
LabelTextBrush |
DisabledWhiteBrush |
TextBoxMouseOverInnerBorderBrush |
ButtonMouseOverInnerBorderBrush |
ComboBoxMouseOverInnerBorderBrush |
DarkIdealForegroundDisabledBrush |
MahApps.Metro.Brushes.ToggleSwitchButton.PressedBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.OffBorderBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.OffMouseOverBorderBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.OffDisabledBorderBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.OffSwitchBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.OnSwitchBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.OnSwitchDisabledBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.OnSwitchMouseOverBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorMouseOverBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorCheckedBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorPressedBrush.Win10 |
MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorDisabledBrush.Win10 |
Click to show the list of renamed and new colors
Old Key | New Key |
---|---|
HighlightColor | MahApps.Colors.Highlight |
AccentBaseColor | MahApps.Colors.AccentBase |
AccentColor | MahApps.Colors.Accent |
AccentColor2 | MahApps.Colors.Accent2 |
AccentColor3 | MahApps.Colors.Accent3 |
AccentColor4 | MahApps.Colors.Accent4 |
BlackColor | MahApps.Colors.ThemeForeground |
WhiteColor | MahApps.Colors.ThemeBackground |
IdealForegroundColor | MahApps.Colors.IdealForeground |
Gray1 | MahApps.Colors.Gray1 |
Gray2 | MahApps.Colors.Gray2 |
Gray3 | MahApps.Colors.Gray3 |
Gray4 | MahApps.Colors.Gray4 |
Gray5 | MahApps.Colors.Gray5 |
Gray6 | MahApps.Colors.Gray6 |
Gray7 | MahApps.Colors.Gray7 |
Gray8 | MahApps.Colors.Gray8 |
Gray9 | MahApps.Colors.Gray9 |
Gray10 | MahApps.Colors.Gray10 |
GrayNormal | MahApps.Colors.Gray |
GrayHover | MahApps.Colors.Gray.MouseOver |
MahApps.Colors.Gray.SemiTransparent | |
FlyoutColor | MahApps.Colors.Flyout |
ProgressIndeterminateColor1 | MahApps.Colors.ProgressIndeterminate1 |
ProgressIndeterminateColor2 | MahApps.Colors.ProgressIndeterminate2 |
ProgressIndeterminateColor3 | MahApps.Colors.ProgressIndeterminate3 |
ProgressIndeterminateColor4 | MahApps.Colors.ProgressIndeterminate4 |
MenuShadowColor | MahApps.Colors.MenuShadow |
MahApps.Colors.SystemAccent | |
MahApps.Colors.SystemAltHigh | |
MahApps.Colors.SystemAltLow | |
MahApps.Colors.SystemAltMedium | |
MahApps.Colors.SystemAltMediumHigh | |
MahApps.Colors.SystemAltMediumLow | |
MahApps.Colors.SystemBaseHigh | |
MahApps.Colors.SystemBaseLow | |
MahApps.Colors.SystemBaseMedium | |
MahApps.Colors.SystemBaseMediumHigh | |
MahApps.Colors.SystemBaseMediumLow | |
MahApps.Colors.SystemChromeAltLow | |
MahApps.Colors.SystemChromeBlackHigh | |
MahApps.Colors.SystemChromeBlackLow | |
MahApps.Colors.SystemChromeBlackMediumLow | |
MahApps.Colors.SystemChromeBlackMedium | |
MahApps.Colors.SystemChromeDisabledHigh | |
MahApps.Colors.SystemChromeDisabledLow | |
MahApps.Colors.SystemChromeHigh | |
MahApps.Colors.SystemChromeLow | |
MahApps.Colors.SystemChromeMedium | |
MahApps.Colors.SystemChromeMediumLow | |
MahApps.Colors.SystemChromeWhite | |
MahApps.Colors.SystemChromeGray | |
MahApps.Colors.SystemListLow | |
MahApps.Colors.SystemListMedium | |
MahApps.Colors.SystemErrorText |
Click to show the list of renamed and new brushes
Old Key | New Key |
---|---|
WhiteBrush | MahApps.Brushes.ThemeBackground |
BlackBrush | MahApps.Brushes.ThemeForeground |
TextBrush | MahApps.Brushes.Text |
IdealForegroundColorBrush | MahApps.Brushes.IdealForeground |
IdealForegroundDisabledBrush | MahApps.Brushes.IdealForegroundDisabled |
AccentSelectedColorBrush | MahApps.Brushes.Selected.Foreground |
WindowTitleColorBrush | MahApps.Brushes.WindowTitle |
NonActiveWindowTitleColorBrush | MahApps.Brushes.WindowTitle.NonActive |
NonActiveBorderColorBrush | MahApps.Brushes.Border.NonActive |
HighlightBrush | MahApps.Brushes.Highlight |
TransparentWhiteBrush | MahApps.Brushes.Transparent |
SemiTransparentWhiteBrush | MahApps.Brushes.SemiTransparent |
AccentBaseColorBrush | MahApps.Brushes.AccentBase |
AccentColorBrush | MahApps.Brushes.Accent |
AccentColorBrush2 | MahApps.Brushes.Accent2 |
AccentColorBrush3 | MahApps.Brushes.Accent3 |
AccentColorBrush4 | MahApps.Brushes.Accent4 |
GrayBrush1 | MahApps.Brushes.Gray1 |
GrayBrush2 | MahApps.Brushes.Gray2 |
GrayBrush3 | MahApps.Brushes.Gray3 |
GrayBrush4 | MahApps.Brushes.Gray4 |
GrayBrush5 | MahApps.Brushes.Gray5 |
GrayBrush6 | MahApps.Brushes.Gray6 |
GrayBrush7 | MahApps.Brushes.Gray7 |
GrayBrush8 | MahApps.Brushes.Gray8 |
GrayBrush9 | MahApps.Brushes.Gray9 |
GrayBrush10 | MahApps.Brushes.Gray10 |
GrayNormalBrush | MahApps.Brushes.Gray |
GrayHoverBrush | MahApps.Brushes.Gray.MouseOver |
SemiTransparentGreyBrush | MahApps.Brushes.Gray.SemiTransparent |
TextBoxBorderBrush | MahApps.Brushes.TextBox.Border |
TextBoxFocusBorderBrush | MahApps.Brushes.TextBox.Border.Focus |
TextBoxMouseOverBorderBrush | MahApps.Brushes.TextBox.Border.MouseOver |
ControlBackgroundBrush | MahApps.Brushes.Control.Background |
ControlBorderBrush | MahApps.Brushes.Control.Border |
ControlsDisabledBrush | MahApps.Brushes.Control.Disabled |
ControlsValidationBrush | MahApps.Brushes.Control.Validation |
MahApps.Brushes.Button.Border | |
MahApps.Brushes.Button.Border.Focus | |
ButtonMouseOverBorderBrush | MahApps.Brushes.Button.Border.MouseOver |
ComboBoxMouseOverBorderBrush | MahApps.Brushes.ComboBox.Border.MouseOver |
MahApps.Brushes.ComboBox.Border.Focus | |
ComboBoxPopupBorderBrush | MahApps.Brushes.ComboBox.PopupBorder |
CheckBoxBrush | MahApps.Brushes.CheckBox |
CheckBoxMouseOverBrush | MahApps.Brushes.CheckBox.MouseOver |
ThumbBrush | MahApps.Brushes.Thumb |
ProgressBrush | MahApps.Brushes.Progress |
SliderValueDisabled | MahApps.Brushes.SliderValue.Disabled |
SliderTrackDisabled | MahApps.Brushes.SliderTrack.Disabled |
SliderThumbDisabled | MahApps.Brushes.SliderThumb.Disabled |
SliderTrackHover | MahApps.Brushes.SliderTrack.Hover |
SliderTrackNormal | MahApps.Brushes.SliderTrack.Normal |
FlyoutBackgroundBrush | MahApps.Brushes.Flyout.Background |
FlyoutForegroundBrush | MahApps.Brushes.Flyout.Foreground |
MahApps.Brushes.Window.FlyoutOverlay | |
WindowBackgroundBrush | MahApps.Brushes.Window.Background |
SeperatorBrush | MahApps.Brushes.Separator |
FlatButtonBackgroundBrush | MahApps.Brushes.Button.Flat.Background |
FlatButtonForegroundBrush | MahApps.Brushes.Button.Flat.Foreground |
MahApps.Brushes.Button.Flat.Background.MouseOver | |
FlatButtonPressedBackgroundBrush | MahApps.Brushes.Button.Flat.Background.Pressed |
FlatButtonPressedForegroundBrush | MahApps.Brushes.Button.Flat.Foreground.Pressed |
CleanWindowCloseButtonBackgroundBrush | MahApps.Brushes.Button.CleanWindow.Close.Background.MouseOver |
MahApps.Brushes.Button.CleanWindow.Close.Foreground.MouseOver | |
CleanWindowCloseButtonPressedBackgroundBrush | MahApps.Brushes.Button.CleanWindow.Close.Background.Pressed |
MahApps.Brushes.Button.Square.Background.MouseOver | |
MahApps.Brushes.Button.Square.Foreground.MouseOver | |
MahApps.Brushes.Button.AccentedSquare.Background.MouseOver | |
MahApps.Brushes.Button.AccentedSquare.Foreground.MouseOver | |
ValidationBrush1 | MahApps.Brushes.Validation1 |
ValidationBrush2 | MahApps.Brushes.Validation2 |
ValidationBrush3 | MahApps.Brushes.Validation3 |
ValidationBrush4 | MahApps.Brushes.Validation4 |
ValidationBrush5 | MahApps.Brushes.Validation5 |
ValidationSummaryColor1 | MahApps.Brushes.ValidationSummary1 |
ValidationSummaryColor2 | MahApps.Brushes.ValidationSummary2 |
ValidationSummaryColor3 | MahApps.Brushes.ValidationSummary3 |
ValidationSummaryColor4 | MahApps.Brushes.ValidationSummary4 |
ValidationSummaryColor5 | MahApps.Brushes.ValidationSummary5 |
ValidationSummaryFillColor1 | MahApps.Brushes.ValidationSummaryFill1 |
ValidationSummaryFillColor2 | MahApps.Brushes.ValidationSummaryFill2 |
ValidationTextBrush | MahApps.Brushes.Text.Validation |
MenuBackgroundBrush | MahApps.Brushes.Menu.Background |
ContextMenuBackgroundBrush | MahApps.Brushes.ContextMenu.Background |
SubMenuBackgroundBrush | MahApps.Brushes.SubMenu.Background |
MenuItemBackgroundBrush | MahApps.Brushes.MenuItem.Background |
ContextMenuBorderBrush | MahApps.Brushes.ContextMenu.Border |
SubMenuBorderBrush | MahApps.Brushes.SubMenu.Border |
MenuItemSelectionFill | MahApps.Brushes.MenuItem.SelectionFill |
MenuItemSelectionStroke | MahApps.Brushes.MenuItem.SelectionStroke |
TopMenuItemPressedFill | MahApps.Brushes.TopMenuItem.PressedFill |
TopMenuItemPressedStroke | MahApps.Brushes.TopMenuItem.PressedStroke |
TopMenuItemSelectionStroke | MahApps.Brushes.TopMenuItem.SelectionStroke |
DisabledMenuItemForeground | MahApps.Brushes.MenuItem.Foreground.Disabled |
DisabledMenuItemGlyphPanel | MahApps.Brushes.MenuItem.GlyphPanel.Disabled |
CheckmarkFill | MahApps.Brushes.CheckmarkFill |
RightArrowFill | MahApps.Brushes.RightArrowFill |
MahApps.Brushes.WindowButtonCommands.Background.MouseOver | |
MetroDataGrid.HighlightBrush | MahApps.Brushes.DataGrid.Selection.Background |
MahApps.Brushes.DataGrid.Selection.BorderBrush | |
MetroDataGrid.DisabledHighlightBrush | MahApps.Brushes.DataGrid.Selection.Background.Disabled |
MahApps.Brushes.DataGrid.Selection.BorderBrush.Disabled | |
MetroDataGrid.HighlightTextBrush | MahApps.Brushes.DataGrid.Selection.Text |
MahApps.Brushes.DataGrid.Selection.Text.Disabled | |
MetroDataGrid.MouseOverHighlightBrush | MahApps.Brushes.DataGrid.Selection.Background.MouseOver |
MahApps.Brushes.DataGrid.Selection.BorderBrush.MouseOver | |
MetroDataGrid.FocusBorderBrush | MahApps.Brushes.DataGrid.Selection.BorderBrush.Focus |
MetroDataGrid.InactiveSelectionHighlightBrush | MahApps.Brushes.DataGrid.Selection.Background.Inactive |
MahApps.Brushes.DataGrid.Selection.BorderBrush.Inactive | |
MetroDataGrid.InactiveSelectionHighlightTextBrush | MahApps.Brushes.DataGrid.Selection.Text.Inactive |
MahApps.Brushes.DataGrid.Selection.Text.MouseOver | |
MahApps.Brushes.Badged.Background | |
MahApps.Metro.Brushes.Badged.DisabledBackgroundBrush | MahApps.Brushes.Badged.Background.Disabled |
MahApps.Brushes.Badged.Foreground | |
MahApps.Brushes.Badged.Foreground.Disabled | |
MahApps.Metro.HamburgerMenu.PaneBackgroundBrush | MahApps.HamburgerMenu.Pane.Background |
MahApps.Metro.HamburgerMenu.PaneForegroundBrush | MahApps.HamburgerMenu.Pane.Foreground |
MahApps.Brushes.SystemControlBackgroundAccent | |
MahApps.Brushes.SystemControlBackgroundAltHigh | |
MahApps.Brushes.SystemControlBackgroundAltMedium | |
MahApps.Brushes.SystemControlBackgroundAltMediumHigh | |
MahApps.Brushes.SystemControlBackgroundAltMediumLow | |
MahApps.Brushes.SystemControlBackgroundBaseHigh | |
MahApps.Brushes.SystemControlBackgroundBaseLow | |
MahApps.Brushes.SystemControlBackgroundBaseMedium | |
MahApps.Brushes.SystemControlBackgroundBaseMediumHigh | |
MahApps.Brushes.SystemControlBackgroundBaseMediumLow | |
MahApps.Brushes.SystemControlBackgroundChromeBlackHigh | |
MahApps.Brushes.SystemControlBackgroundChromeBlackLow | |
MahApps.Brushes.SystemControlBackgroundChromeBlackMedium | |
MahApps.Brushes.SystemControlBackgroundChromeBlackMediumLow | |
MahApps.Brushes.SystemControlBackgroundChromeMedium | |
MahApps.Brushes.SystemControlBackgroundChromeMediumLow | |
MahApps.Brushes.SystemControlBackgroundChromeWhite | |
MahApps.Brushes.SystemControlBackgroundListLow | |
MahApps.Brushes.SystemControlBackgroundListMedium | |
MahApps.Brushes.SystemControlDisabledAccent | |
MahApps.Brushes.SystemControlDisabledBaseHigh | |
MahApps.Brushes.SystemControlDisabledBaseLow | |
MahApps.Brushes.SystemControlDisabledBaseMediumLow | |
MahApps.Brushes.SystemControlDisabledChromeDisabledHigh | |
MahApps.Brushes.SystemControlDisabledChromeDisabledLow | |
MahApps.Brushes.SystemControlDisabledChromeHigh | |
MahApps.Brushes.SystemControlDisabledChromeMediumLow | |
MahApps.Brushes.SystemControlDisabledListMedium | |
MahApps.Brushes.SystemControlDisabledTransparent | |
MahApps.Brushes.SystemControlErrorTextForeground | |
MahApps.Brushes.SystemControlFocusVisualPrimary | |
MahApps.Brushes.SystemControlFocusVisualSecondary | |
MahApps.Brushes.SystemControlForegroundAccent | |
MahApps.Brushes.SystemControlForegroundAltHigh | |
MahApps.Brushes.SystemControlForegroundAltMediumHigh | |
MahApps.Brushes.SystemControlForegroundBaseHigh | |
MahApps.Brushes.SystemControlForegroundBaseLow | |
MahApps.Brushes.SystemControlForegroundBaseMedium | |
MahApps.Brushes.SystemControlForegroundBaseMediumHigh | |
MahApps.Brushes.SystemControlForegroundBaseMediumLow | |
MahApps.Brushes.SystemControlForegroundChromeBlackHigh | |
MahApps.Brushes.SystemControlForegroundChromeBlackMedium | |
MahApps.Brushes.SystemControlForegroundChromeBlackMediumLow | |
MahApps.Brushes.SystemControlForegroundChromeDisabledLow | |
MahApps.Brushes.SystemControlForegroundChromeGray | |
MahApps.Brushes.SystemControlForegroundChromeHigh | |
MahApps.Brushes.SystemControlForegroundChromeMedium | |
MahApps.Brushes.SystemControlForegroundChromeWhite | |
MahApps.Brushes.SystemControlForegroundListLow | |
MahApps.Brushes.SystemControlForegroundListMedium | |
MahApps.Brushes.SystemControlForegroundTransparent | |
MahApps.Brushes.SystemControlHighlightAccent | |
MahApps.Brushes.SystemControlHighlightAltAccent | |
MahApps.Brushes.SystemControlHighlightAltAltHigh | |
MahApps.Brushes.SystemControlHighlightAltAltMediumHigh | |
MahApps.Brushes.SystemControlHighlightAltBaseHigh | |
MahApps.Brushes.SystemControlHighlightAltBaseLow | |
MahApps.Brushes.SystemControlHighlightAltBaseMedium | |
MahApps.Brushes.SystemControlHighlightAltBaseMediumHigh | |
MahApps.Brushes.SystemControlHighlightAltBaseMediumLow | |
MahApps.Brushes.SystemControlHighlightAltChromeWhite | |
MahApps.Brushes.SystemControlHighlightAltListAccentHigh | |
MahApps.Brushes.SystemControlHighlightAltListAccentLow | |
MahApps.Brushes.SystemControlHighlightAltListAccentMedium | |
MahApps.Brushes.SystemControlHighlightAltTransparent | |
MahApps.Brushes.SystemControlHighlightBaseHigh | |
MahApps.Brushes.SystemControlHighlightBaseLow | |
MahApps.Brushes.SystemControlHighlightBaseMedium | |
MahApps.Brushes.SystemControlHighlightBaseMediumHigh | |
MahApps.Brushes.SystemControlHighlightBaseMediumLow | |
MahApps.Brushes.SystemControlHighlightChromeAltLow | |
MahApps.Brushes.SystemControlHighlightChromeHigh | |
MahApps.Brushes.SystemControlHighlightChromeWhite | |
MahApps.Brushes.SystemControlHighlightListAccentHigh | |
MahApps.Brushes.SystemControlHighlightListAccentLow | |
MahApps.Brushes.SystemControlHighlightListAccentMedium | |
MahApps.Brushes.SystemControlHighlightListLow | |
MahApps.Brushes.SystemControlHighlightListMedium | |
MahApps.Brushes.SystemControlHighlightTransparent | |
MahApps.Brushes.SystemControlHyperlinkBaseHigh | |
MahApps.Brushes.SystemControlHyperlinkBaseMedium | |
MahApps.Brushes.SystemControlHyperlinkBaseMediumHigh | |
MahApps.Brushes.SystemControlHyperlinkText | |
MahApps.Brushes.SystemControlPageBackgroundAltHigh | |
MahApps.Brushes.SystemControlPageBackgroundAltMedium | |
MahApps.Brushes.SystemControlPageBackgroundBaseLow | |
MahApps.Brushes.SystemControlPageBackgroundBaseMedium | |
MahApps.Brushes.SystemControlPageBackgroundChromeLow | |
MahApps.Brushes.SystemControlPageBackgroundChromeMediumLow | |
MahApps.Brushes.SystemControlPageBackgroundListLow | |
MahApps.Brushes.SystemControlPageBackgroundMediumAltMedium | |
MahApps.Brushes.SystemControlPageBackgroundTransparent | |
MahApps.Brushes.SystemControlPageTextBaseHigh | |
MahApps.Brushes.SystemControlPageTextBaseMedium | |
MahApps.Brushes.SystemControlPageTextChromeBlackMediumLow | |
MahApps.Brushes.SystemControlRevealFocusVisual | |
MahApps.Brushes.SystemControlTransientBorder | |
MahApps.Brushes.SystemControlTransparent | |
MahApps.Brushes.SystemControlDescriptionTextForeground | |
MahApps.Brushes.CheckBox.ForegroundUnchecked | |
MahApps.Brushes.CheckBox.ForegroundUncheckedMouseOver | |
MahApps.Brushes.CheckBox.ForegroundUncheckedPressed | |
MahApps.Brushes.CheckBox.ForegroundUncheckedDisabled | |
MahApps.Brushes.CheckBox.ForegroundChecked | |
MahApps.Brushes.CheckBox.ForegroundCheckedMouseOver | |
MahApps.Brushes.CheckBox.ForegroundCheckedPressed | |
MahApps.Brushes.CheckBox.ForegroundCheckedDisabled | |
MahApps.Brushes.CheckBox.ForegroundIndeterminate | |
MahApps.Brushes.CheckBox.ForegroundIndeterminateMouseOver | |
MahApps.Brushes.CheckBox.ForegroundIndeterminatePressed | |
MahApps.Brushes.CheckBox.ForegroundIndeterminateDisabled | |
MahApps.Brushes.CheckBox.BackgroundUnchecked | |
MahApps.Brushes.CheckBox.BackgroundUncheckedMouseOver | |
MahApps.Brushes.CheckBox.BackgroundUncheckedPressed | |
MahApps.Brushes.CheckBox.BackgroundUncheckedDisabled | |
MahApps.Brushes.CheckBox.BackgroundChecked | |
MahApps.Brushes.CheckBox.BackgroundCheckedMouseOver | |
MahApps.Brushes.CheckBox.BackgroundCheckedPressed | |
MahApps.Brushes.CheckBox.BackgroundCheckedDisabled | |
MahApps.Brushes.CheckBox.BackgroundIndeterminate | |
MahApps.Brushes.CheckBox.BackgroundIndeterminateMouseOver | |
MahApps.Brushes.CheckBox.BackgroundIndeterminatePressed | |
MahApps.Brushes.CheckBox.BackgroundIndeterminateDisabled | |
MahApps.Brushes.CheckBox.BorderBrushUnchecked | |
MahApps.Brushes.CheckBox.BorderBrushUncheckedMouseOver | |
MahApps.Brushes.CheckBox.BorderBrushUncheckedPressed | |
MahApps.Brushes.CheckBox.BorderBrushUncheckedDisabled | |
MahApps.Brushes.CheckBox.BorderBrushChecked | |
MahApps.Brushes.CheckBox.BorderBrushCheckedMouseOver | |
MahApps.Brushes.CheckBox.BorderBrushCheckedPressed | |
MahApps.Brushes.CheckBox.BorderBrushCheckedDisabled | |
MahApps.Brushes.CheckBox.BorderBrushIndeterminate | |
MahApps.Brushes.CheckBox.BorderBrushIndeterminateMouseOver | |
MahApps.Brushes.CheckBox.BorderBrushIndeterminatePressed | |
MahApps.Brushes.CheckBox.BorderBrushIndeterminateDisabled | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeUnchecked | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeUncheckedMouseOver | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeUncheckedPressed | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeUncheckedDisabled | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeChecked | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeCheckedMouseOver | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeCheckedPressed | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeCheckedDisabled | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeIndeterminate | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeIndeterminateMouseOver | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeIndeterminatePressed | |
MahApps.Brushes.CheckBox.CheckBackgroundStrokeIndeterminateDisabled | |
MahApps.Brushes.CheckBox.CheckBackgroundFillUnchecked | |
MahApps.Brushes.CheckBox.CheckBackgroundFillUncheckedMouseOver | |
MahApps.Brushes.CheckBox.CheckBackgroundFillUncheckedPressed | |
MahApps.Brushes.CheckBox.CheckBackgroundFillUncheckedDisabled | |
MahApps.Brushes.CheckBox.CheckBackgroundFillChecked | |
MahApps.Brushes.CheckBox.CheckBackgroundFillCheckedMouseOver | |
MahApps.Brushes.CheckBox.CheckBackgroundFillCheckedPressed | |
MahApps.Brushes.CheckBox.CheckBackgroundFillCheckedDisabled | |
MahApps.Brushes.CheckBox.CheckBackgroundFillIndeterminate | |
MahApps.Brushes.CheckBox.CheckBackgroundFillIndeterminateMouseOver | |
MahApps.Brushes.CheckBox.CheckBackgroundFillIndeterminatePressed | |
MahApps.Brushes.CheckBox.CheckBackgroundFillIndeterminateDisabled | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundUnchecked | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundUncheckedMouseOver | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundUncheckedPressed | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundUncheckedDisabled | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundChecked | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundCheckedMouseOver | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundCheckedPressed | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundCheckedDisabled | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundIndeterminate | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundIndeterminateMouseOver | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundIndeterminatePressed | |
MahApps.Brushes.CheckBox.CheckGlyphForegroundIndeterminateDisabled | |
MahApps.Brushes.RadioButton.Foreground | |
MahApps.Brushes.RadioButton.ForegroundPointerOver | |
MahApps.Brushes.RadioButton.ForegroundPressed | |
MahApps.Brushes.RadioButton.ForegroundDisabled | |
MahApps.Brushes.RadioButton.Background | |
MahApps.Brushes.RadioButton.BackgroundPointerOver | |
MahApps.Brushes.RadioButton.BackgroundPressed | |
MahApps.Brushes.RadioButton.BackgroundDisabled | |
MahApps.Brushes.RadioButton.BorderBrush | |
MahApps.Brushes.RadioButton.BorderBrushPointerOver | |
MahApps.Brushes.RadioButton.BorderBrushPressed | |
MahApps.Brushes.RadioButton.BorderBrushDisabled | |
MahApps.Brushes.RadioButton.OuterEllipseStroke | |
MahApps.Brushes.RadioButton.OuterEllipseStrokePointerOver | |
MahApps.Brushes.RadioButton.OuterEllipseStrokePressed | |
MahApps.Brushes.RadioButton.OuterEllipseStrokeDisabled | |
MahApps.Brushes.RadioButton.OuterEllipseFill | |
MahApps.Brushes.RadioButton.OuterEllipseFillPointerOver | |
MahApps.Brushes.RadioButton.OuterEllipseFillPressed | |
MahApps.Brushes.RadioButton.OuterEllipseFillDisabled | |
MahApps.Brushes.RadioButton.OuterEllipseCheckedStroke | |
MahApps.Brushes.RadioButton.OuterEllipseCheckedStrokePointerOver | |
MahApps.Brushes.RadioButton.OuterEllipseCheckedStrokePressed | |
MahApps.Brushes.RadioButton.OuterEllipseCheckedStrokeDisabled | |
MahApps.Brushes.RadioButton.OuterEllipseCheckedFill | |
MahApps.Brushes.RadioButton.OuterEllipseCheckedFillPointerOver | |
MahApps.Brushes.RadioButton.OuterEllipseCheckedFillPressed | |
MahApps.Brushes.RadioButton.OuterEllipseCheckedFillDisabled | |
MahApps.Brushes.RadioButton.CheckGlyphFill | |
MahApps.Brushes.RadioButton.CheckGlyphFillPointerOver | |
MahApps.Brushes.RadioButton.CheckGlyphFillPressed | |
MahApps.Brushes.RadioButton.CheckGlyphFillDisabled | |
MahApps.Brushes.RadioButton.CheckGlyphStroke | |
MahApps.Brushes.RadioButton.CheckGlyphStrokePointerOver | |
MahApps.Brushes.RadioButton.CheckGlyphStrokePressed | |
MahApps.Brushes.RadioButton.CheckGlyphStrokeDisabled | |
MahApps.Brushes.ToggleSwitch.ContentForeground | |
MahApps.Brushes.ToggleSwitch.ContentForegroundDisabled | |
MahApps.Brushes.ToggleSwitch.HeaderForeground | |
MahApps.Brushes.ToggleSwitch.HeaderForegroundDisabled | |
MahApps.Brushes.ToggleSwitch.ContainerBackground | |
MahApps.Brushes.ToggleSwitch.ContainerBackgroundPointerOver | |
MahApps.Brushes.ToggleSwitch.ContainerBackgroundPressed | |
MahApps.Brushes.ToggleSwitch.ContainerBackgroundDisabled | |
MahApps.Brushes.ToggleSwitch.FillOff | |
MahApps.Brushes.ToggleSwitch.FillOffPointerOver | |
MahApps.Brushes.ToggleSwitch.FillOffPressed | |
MahApps.Brushes.ToggleSwitch.FillOffDisabled | |
MahApps.Brushes.ToggleSwitch.StrokeOff | |
MahApps.Brushes.ToggleSwitch.StrokeOffPointerOver | |
MahApps.Brushes.ToggleSwitch.StrokeOffPressed | |
MahApps.Brushes.ToggleSwitch.StrokeOffDisabled | |
MahApps.Brushes.ToggleSwitch.FillOn | |
MahApps.Brushes.ToggleSwitch.FillOnPointerOver | |
MahApps.Brushes.ToggleSwitch.FillOnPressed | |
MahApps.Brushes.ToggleSwitch.FillOnDisabled | |
MahApps.Brushes.ToggleSwitch.StrokeOn | |
MahApps.Brushes.ToggleSwitch.StrokeOnPointerOver | |
MahApps.Brushes.ToggleSwitch.StrokeOnPressed | |
MahApps.Brushes.ToggleSwitch.StrokeOnDisabled | |
MahApps.Brushes.ToggleSwitch.KnobFillOff | |
MahApps.Brushes.ToggleSwitch.KnobFillOffPointerOver | |
MahApps.Brushes.ToggleSwitch.KnobFillOffPressed | |
MahApps.Brushes.ToggleSwitch.KnobFillOffDisabled | |
MahApps.Brushes.ToggleSwitch.KnobFillOn | |
MahApps.Brushes.ToggleSwitch.KnobFillOnPointerOver | |
MahApps.Brushes.ToggleSwitch.KnobFillOnPressed | |
MahApps.Brushes.ToggleSwitch.KnobFillOnDisabled |
Click to show the list of deleted, renamed and new fonts
Old Key | New Key |
---|---|
MahApps.Fonts.Family.SymbolTheme | |
DefaultFont | MahApps.Fonts.Family.Button |
HeaderFontFamily | MahApps.Fonts.Family.Header |
MahApps.Fonts.Family.Window.Title | |
ContentFontFamily | MahApps.Fonts.Family.Control |
ToggleSwitchFontFamily | MahApps.Fonts.Family.ToggleSwitch |
ToggleSwitchHeaderFontFamily | MahApps.Fonts.Family.ToggleSwitch.Header |
ToggleSwitchFontFamily.Win10 | -- deleted -- |
ToggleSwitchHeaderFontFamily.Win10 | -- deleted -- |
Click to show the list of deleted, renamed and new font sizes
Old Key | New Key |
---|---|
HeaderFontSize | MahApps.Font.Size.Header |
SubHeaderFontSize | MahApps.Font.Size.SubHeader |
WindowTitleFontSize | MahApps.Font.Size.Window.Title |
NormalFontSize | MahApps.Font.Size.Default |
ContentFontSize | MahApps.Font.Size.Content |
FlatButtonFontSize | MahApps.Font.Size.Button.Flat |
TabItemFontSize | MahApps.Font.Size.TabItem |
UpperCaseContentFontSize | MahApps.Font.Size.Button |
FloatingWatermarkFontSize | MahApps.Font.Size.FloatingWatermark |
ClearTextButtonFontSize | MahApps.Font.Size.Button.ClearText |
TooltipFontSize | MahApps.Font.Size.Tooltip |
MenuFontSize | MahApps.Font.Size.Menu |
ContextMenuFontSize | MahApps.Font.Size.ContextMenu |
StatusBarFontSize | MahApps.Font.Size.StatusBar |
DialogTitleFontSize | MahApps.Font.Size.Dialog.Title |
DialogMessageFontSize | MahApps.Font.Size.Dialog.Message |
MahApps.Font.Size.Dialog.Button | |
FlyoutHeaderFontSize | MahApps.Font.Size.Flyout.Header |
ToggleSwitchFontSize | MahApps.Font.Size.ToggleSwitch |
ToggleSwitchHeaderFontSize | MahApps.Font.Size.ToggleSwitch.Header |
ToggleSwitchFontSize.Win10 | -- deleted -- |
ToggleSwitchHeaderFontSize.Win10 | -- deleted -- |
Click to show the list of deleted, renamed and new sizes
Old Key | New Key |
---|---|
MetroScrollBarHeight | MahApps.Sizes.ScrollBar.Height |
MetroScrollBarWidth | MahApps.Sizes.ScrollBar.Width |
HorizontalScrollBarRepeatButtonWidth | MahApps.Sizes.ScrollBar.HorizontalRepeatButton.Width |
VerticalScrollBarRepeatButtonHeight | MahApps.Sizes.ScrollBar.VerticalRepeatButton.Height |
Coming soon...
Full MahApps documentation is available at https://mahapps.com