A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
MIT License
Bot releases are hidden (Show)
Published by punker76 almost 9 years ago
TextBoxHelper.SelectAllOnFocus="True"
#2307 (@sachokFoX)Published by punker76 almost 9 years ago
RangeSlider
for lower and upper value tooltip #1833 (@Alkalinee)MetroListBoxItem
#1892 (@ye4241)WaitUntilUnloadedAsync
for custom dialogs #1910 #1910 (@IsNull)Culture
dependency property for NumericUpDown
#1874 (@panastas91)WindowCommands
height span now the entire height of the title bar #1902 (@Dotnetifier)FontSize
in Dialogs is now changeable #1941Dialog:DialogParticipation.Register="{Binding}"
IDialogCoordinator
/ DialogCoordinator.Instance
to launch dialogs from inside a VMToggleSwitch
improvements and fixes #1945
ToggleSwitchButtonStyle
and style key MetroToggleSwitchButton
BorderThickness
and BorderBrush
for toggle button style now customizableToggleSwitchFontFamily
and ToggleSwitchHeaderFontFamily
ToggleSwitchFontSize
and ToggleSwitchHeaderFontSize
OnSwitchBrush
and OffSwitchBrush
ThumbIndicatorBrush
and ThumbIndicatorDisabledBrush
ThumbIndicatorWidth
Validation.ErrorTemplate
support #1917ToggleSwitch
itself or the toggle button was clickedCheckChangedCommand
, CheckedCommand
and UnCheckedCommand
CheckChangedCommandParameter
, CheckedCommandParameter
and UnCheckedCommandParameter
ComboBoxHelper
attached properties MaxLength
and CharacterCasing
#1949 #1948ButtonStyle
dependency property and new style key ButtonDropDownStyle
for the defaultArrowBrush
and ArrowVisibility
dependency propertiesMenuStyle
dependency propertyIconTemplate
dependency propertyComboBox
where IsEditable="False"
#1958 #1953SelectAllOnFocus
dependency property for NumericUpDown
(with default to true like ComboBox does)NumericUpDown
up and down buttons #1962 (@Prophetebe)ButtonStyle
, ButtonArrowStyle
dependency properties and new style keys ButtonSplitStyle
, ButtonSplitArrowStyle
ArrowBrush
and ArrowVisibility
dependency propertiesListBoxStyle
dependency propertyIconTemplate
dependency propertyMahApps
#1985 (@DaCheeseMan)ExpanderHelper
with
HeaderUpStyle
, HeaderDownStyle
and HeaderLeftStyle
, HeaderRightStyle
. So it's now possible to create your own header toggle styles without rewriting the Expander
style.BorderThickness
property, the Expander
uses now the new value converter ThicknessBindingConverter
, so setting the BorderThickness
is much better than before.GroupBox
BorderThickness
property.DataGrid
row and cell color styling #2004DisabledVisualElementVisibility
for TextBox
, PasswordBox
, RichTextBox
and NumericUpDown
, this makes it easier to hide this element if we don't want/need it in special cases (inside other controls or using in a DataGrid).ProgressDialogController
#2013 #1702ButtonsAlignment
(attached) property to have possibility to set NumericUpDown
(TextBox
) buttons on the left side #2024 (@QuantumDeveloper)CancellationToken
to cancel dialogs #2022 #2018 (@thoemmi)ProgressRing.IsActive
to true
#2029MetroDialogs
fixes and changes #2032 #1149
DialogSettings
property is now publicCustomResourceDictionary
for DialogSettings
OnLoaded
TreeView
style enhancements #2041
VirtualisedMetroTreeView
MetroValidationPopup
style and new CloseOnMouseLeftButtonDown
dependency property #2058 #1469ProgressDialog
is not set to Indetermined by default anymore, must be set explicitly by calling ProgressDialogController.SetIndeterminate()
#2097Closed
event to ProgressDialogController
#2097ConfigurationErrorsException
if the user.config file is corrupt #2112 (@Remolutionary)Canceled
event (and IsCanceled
property) for ProgressDialogController
#2150 (@bigworld12)Controls:ControlsHelper.ContentCharacterCasing
for ContentControl, DropDownButton and in the future for WindowCommands
PreserveTextCase
attached property from ControlsHelper (it was introduced in alpha version)PreserveTextCase
attached property as obsoleteContentCharacterCasing
for MetroDataGridColumnHeader
and MetroGridViewColumnHeader
tooStatusBar
's background color now matches the title bar #2173 #2174 (@thoemmi)Slider
value on MouseWheel event. #2171 (@xxMUROxx)MetroThumb
in order to be better in Touch environment #1853 (@ycaoyang)NumericUpDown
with Integer only option #2065 (@feinstein)CornerRadius
for ComboBox
#2207DataGridNumericUpDownColumn
#2205
DataCell
foreground inheritenceContentControlEx
to reduce some boilerplate XAML code
ContentCharacterCasing
usage (Button
, GroupBox
, Expander
, ListView
columns, DataGrid
columns, DropDownButton
, SplitButton
, WindowCommands
, TabItem
)MessageDialog
#2223 (@akinyooa)LoginDialog
#2230 (@mgnslndh)Thumb
for Window DragMove #2226ComboBox
style respects textbox helper button content property #2264 (@ButchersBoy)Tile
as disabled #2263 #2262 (@xxMUROxx)CloseButtonIsCancel
for Flyout
close button #2256 (@BlythMeister)DefaultButtonFocus
for default focused button in MessageDialog #2265 (@BlythMeister)UseFloatingWatermark
for NumericUpDown
#2202 #2245 (@xxMUROxx)SplitButton
/DropDownButton
is disabled #2272 (@p76984275)MetroProgressBar
performance issue #1855 #1860 (@zandrei007)Invalid window handle
thrown when IgnoreTaskbarOnMaximize
bound to a true value #1880 #1883NumericUpDown
IsReadonly
issue #1840 (@xxMUROxx)ThemeManager
issue if resource source case in App.xaml
does not match #1759 (@sickboy)FlowDirection="RightToLeft"
#1927 #1924System.NullReferenceException
for HandleTheme
in BaseMetroDialog
#1933 #1931TreeView
#1934 #1907ShowInTaskbar=False
#1940 #1912IsReadOnly
usage/binding for NumericUpDown
(and TextBox
...) #1942 #1914ToggleSwitch
validation shows red border but doesn't show error text #1917 #1945OnLabel
/OffLabel
at ToggleSwitch
#1867 #1945NumericUpDown
#1903 #1959CheckBox
, RadioButton
, and GroupBox
#1979DataGrid
row conditional foreground #1939 (@spaccabit)DataGridRow
style (e.g. row selection) #1876, #1492, #1243, #809DataGridNumericUpDownColumn
styling #1878DataGridRow
validation #1930MetroProgressBar
#2012RangeSlider
with binding and values between ticks #2006 (@drayde)ScrollBarHelper.VerticalScrollBarOnLeftSide
usage #2025Pivot
's header selected item when modify the Selected-Pivot-Item by code #2010 (@ycaoyang)ProgressDialog
cannot find the AccentColorBrush resources #1149NumericUpDown
won't rise its value changed event #2031MetroCircleToggleButtonStyle
BorderBrush not using TemplateBinding #1573TreeViewItem
does not respond to changes when inside MahApps window. #2038TextmarkHelper.Watermark
with Caliburn.Micro
#1059Padding
usage for MetroTabItem
: How to increase the spacing between Tab Items? #2074NumericUpDown
#1818DatePicker
and NumericUpDown
controls #1683RangeSlider
memory leak #2064MetroTabItem
added from a child #1278OverrideDefaultWindowCommandsBrush
#2086ProgressBar
ignoring 'IsIndeterminate' value #2180 #2184WindowCommands.ShowSeparators="False"
is ignored #2188 #2195ContentCharacterCasing
for ToggleButton
#2197ComboBox
watermark padding issue with IsEditable
states #2210ContentCharacterCasing
for TabItem
#2209MetroAnimatedTabControl
style #2219NumericUpDown
culture problem #2149 #2199 (@fredericoregateiro)AvalonDock
anchorables could not be dragged inside MetroWindow
#2036 #2226NumericUpDown
value as hexidecimal #1375 #2245 (@xxMUROxx)NumericUpDown
when setting maximum in code behind #1885 #2245 (@xxMUROxx)Published by punker76 over 9 years ago
This is a bug fix release of MahApps.Metro.
MetroDataGridRowHeader
style #1819MetroDataGridRowHeader
style #1822IgnoreTaskbarOnMaximize
with a maximized window (there was a bug with the frame) #1823 (39a7e05)WindowPlacementSettings
on version change #1787 #1736 (ada352b)Topmost
bug: Window is going behind other windows on program start #1251 (6b0a8fa)Published by punker76 over 9 years ago
This is a bug fix release of MahApps.Metro.
UpgradeSettings (IWindowPlacementSettings)
(509bd77)Published by punker76 over 9 years ago
This is a bug fix and fetaure release of MahApps.Metro.
ColorScheme = MetroDialogColorScheme.Inverted
MouseOverGlowEnabled
to FlipView
AreAnimationsEnabled
property for Flyout
to show the Flyout
directly or with animationMaximumBodyHeight
for MetroDialogSettings
, so we can get a ScrollViewer
for tall dialog contentIsMinButtonEnabled
, IsMaxRestoreButtonEnabled
and IsCloseButtonEnabled
to enable/disable the window buttons at WindowButtonCommands
@romerod #1562IdealForegroundDisabledBrush
to set the foreground for disabled window buttons at WindowButtonCommands
#1581MetroWindow
animates now on minimize/maximize/restore window action (limited by ignoring the taskbar) #1756TabstripPlacement
property of TabControl
. (ControlsHelper.IsUnderlined
) #1737 #1478WindowPlacementSettings
on version change (minor breaking change) #1787 #1736ShowSeparators
for WindowCommands, so it's possible to hide the WindowCommands
seperatorsMetroTabItem
now supports the TabControlHelper.IsUnderlined
attached property #1795 #1796FocusedElement
and AllowFocusElement
to enable focusing mechanism
AllowFocusElement
is set to True
the Flyout
tries to focus the first focusable element, if there is no focusable element, it tries to focus an element in the header section.FocusedElement
is set the Flyout
focus this element.PasswordBox
SHA
ShowIconOnTitleBar
#1810, so we can hide the icon e.g. after window is loaded #1688CornerRadiuis
property for MetroButton
and ToggleButton
style SHA, SHA, SHA
PasswordBox
, TextBox
, DatePicker
, CheckBox
, RadioButton
, SquareButton
, MetroButton
, ToggleButton
, ComboBox
, ComboBoxItem
IdealForegroundColor
for AccentSelectedColorBrush
(for better results in ListBox
, ListView
, DataGrid
and ComboBox
)UseLayoutRounding
for MetroWindow
for better pixel stuff SHA
IdealForegroundDisabledBrush
to handle this) #1581ProgressDialog
#1763UseNoneWindowStyle
SHA
ClearTextButton
doesnt show the button #1718TextboxHelper.ClearTextButton="True"
after visibilty change #1268 #1809PasswordBox
SHA and DatePicker
SHA
ComboBox
style (looks now like other controls) SHA
DatePicker
style and wrong showing watermark SHA
Published by punker76 almost 10 years ago
This is the first stable release of MahApps.Metro.
We removed everything marked as obsolete and made some API changes, but from now on MahApps.Metro follows Semantic Versioning, at least API wise. Please note that minor visual changes can still occur if there's a need for them.
A migration guide for the breaking changes is available here: https://github.com/MahApps/MahApps.Metro/blob/master/docs/v1.0-Migration-Guide.md
TitleVisibility
and CloseButtonVisibility
properties to the flyouts to control the visibility of the header.ButtonHelper.PreserveTextCase
attached property to control the automatic upper and lower casing of certain buttons. #1622MetroWindow
now automatically selects the optimal icon size. #1242 #1628ShowMetroDialogAsync
now accepts MetroDialogSettings
as argument so custom dialogs derived from the CustomDialog
class can have a fade-in and fade-out animationToggleSwitch
control can now be dragged with the mouse to change the enabled state #1652 #1595CleanWindow
's close button now has a red background when hovering with the mouse.IsOpenChangedEvent
of the Flyout
control is now a routed eventFlyout
control matches the Windows 8 flyout behavior more closely #1460ControlsHelper
class into multiple more granular helper classes #1520 #1582SimpleDialog
has been renamed to CustomDialog
#1613BaseMetroDialog
now inherits from ContentControl
instead of Control
.DialogBody
property has effectively been replaced by the Content
property. #1615IdealForegroundBrush
for a better contrast to the accent color. #1611BaseMetroTabControl
to MetroTabItem
#1624TextBoxHelper
is now written with an uppercase B
to match TextBox
.TabItem
close button requiring MahApps.Metro.Resources #1524ToggleSwitch
control not respecting the height and width properties. #1652 #1466MetroProgressBar
System.Windows.Media.Animation Warning 6 #1664WindowSettings
SaveWindowPosition saves to position 0,0 if window not shown #1671 #1672Published by flagbug about 10 years ago
We're nearly ready to release version 1.0 of MahApps.Metro, so this may be the last unstable release.
There are no known breaking changes in this release, but we had to deprecate some things, particularly around the titlebar overlay behavior.
Please note that everything that is know deprecated will be removed in the 1.0 release, so you should prepare your applications soon.
Since we're following semantic versioning, we promise to not break anything from version 1.0 to 2.0.
The MetroWindow
now has the NonActiveWindowTitleBrush
property that sets the window brush for an inactive window.
See PR #1320
The overlay behavior of the elements of the window titlebar can now be controlled individually.
There are is now an enum with four values:
Never
OverlayFlyout
OverlayHiddenTitleBar
Always
For more info, see PR #1427.
Added the attached property ControlsHelper.IsUnderlined="True"
for the TabControl
control that adds an underline.
See PR #1425 for reference.
The default ScrollBar width and height can now be set manually.
See PR #1387for more infos.
Previously you had to include the FlatButton
resource dictionary to add a FlatButton
.
Now you can just set it at style of a button.
It is now possible to set the EdgeMode
of the window icon.
DropDownButton
now works less like a SplitButton
#1442 #1459Flyout
control opening again when clicking on a control under the overlay #1411 #1428TextboxHelper.Watermark
should respect padding #1247MetroButton
and MetroToggleButton
styleComboBox
`CanContentScroll usageComboBox
virtualization #1132 #1394There are some more fixes, for a detailed list look into the commit log.
Published by punker76 over 10 years ago
Published by punker76 over 10 years ago
The 0.13 release of MahApps.Metro marks a very important change in the MetroWindow
infrastructure along with several other fixes and improvements.
We've also updated the MahApps.Metro.Resources NuGet package with the latest icons.
MahApps.Metro now allows to define custom themes for the application. We've rewritten the ThemeManager
for this (don't worry, your old code should still work, but most old methods are now marked as Obsolete
)
To add a theme, use the new AddAppTheme
theme method.
BorderlessWindowBehavior
The BorderlessWindowBehavior
has been completely rewritten, to fix a number of issues that have accumulated over time.
For a complete list of fixes, see PR #1156
Flyouts now have an option to be automatically closed when the user clicks outside of the flyout.
We renamed the property IsPinnable
(that had no use) to IsPinned
for this.
IsPinned
is true
by default and, if set to false, enables the auto-closing feature.
The RangeSlider
control has been completely rewritten because it was unusably broken before.
See PR #1055 for more info.
LeftWindowCommands
WindowCommands
property is now obsolete and is called RightWindowCommands
ToggleButton
s in the window commands #954RangeSlider
by new RangeSlider
- #885 - see PR #920 / #1055Flyout
s' IsPinnable property doesn't seem to do anything - #866 - #1000ButtonCommandMetroPasswordBox
( @punker76 ) #993 PR #1097MetroWindow
issues with multiple monitors #1099 #1136OverflowException
in the clean window #897TextOptions.TextFormattingMode="Display"
#889FocusVisualStyle
from the window command buttons #833 #1012OverflowException
that could occur with multiple monitors #624 #1014InvalidOperationException
occuring if a dialog was opened after an external dialog #994 #996FlatSlider
ignoring custom dimensions #858InvalidOperationException
occuring in the GlowWindow
#1044MetroProgressBar
and ProgressRing
issue Perfomance GPU" #812FlipView
HideBanner uses height, which is often NaN, should probably be ActualHeight instead #1053Tile
static constructor. #1131 (thanks @maw136)Published by flagbug over 10 years ago
This is a bugfix release. It will most likely be the only bugfix release till v0.13.
Flyout
doesn't have dark window commands anymoreFlyout
changes the WindowCommands, if it is closed, the WindowCommands adapt to the underlying FlyoutOverflowException
in the CleanWindowStyle
#897 # 903NumericUpDown
control: #952 #953
WindowCommands
of a CleanWindow
, they were white and therefore invisible when a BorderlessWindowBehavior
was attached.Published by punker76 over 10 years ago
After only 2 months and nearly 300 commits, this is one of the feature-richest releases we've ever done.
This release, again, contains some breaking changes.
We try to break things now rather than later, when we release version 1.0 (which is hopefully soon).
A quick overview:
ProgressIndicator
is now removed, as it wasn't working as expected.MetroProgressBar
with IsIndeterminate = True
instead, which should give a much smoother experience.ProgressIndicator
, MetroImage
has been removed because it was broken.Rectangle
, as described here
Panorama
control has been removed.Upcoming changes:
RangeSlider
control is currently being rewritten, so expect some breaking changes here.The dialog system has been overhauled for better extensibility.
The SimpleDialog
class now allows to create a custom dialog.
ProgressDialog
is a dialog that displays progress (duh!) inspired by Github for Windows.
InputDialog
works like the MessageDialog
but allows the user to input text.
For reference, see PR #785 , #860 and #901 .
Just like modal dialogs, Flyouts can now be made modal by setting the IsModal = true
.
Thanks @grokys for this feature!
For reference, see PR #824
A Flyout can now have a theme, just like MetroWindow
There are four different theme states, indicated by the FlyoutTheme
enum:
FlyoutTheme.Adapt
: The flyout will use the theme if the host windowFlyoutTheme.Inverse
: The flyout will use the inverse theme of the host windowFlyoutTheme.Dark
: Always dark. This is the default valueFlyoutTheme.Light
: Always use the light themeFlyoutTheme.Accent
: Instead of the dark/light theme, use the accent of the host windowThis behavior can be set through the Theme
property
For reference, see PR #941
Added new Expander
control that can can be used to close/open for example a GroupBox
Thanks @Icehunter for this feature!
For reference, see PR #834
Implemented a NumericUpDown
control, inspired by the Callisto style.
Thanks @xxMUROxx for this feature!
Two new icons have been added to Mahapps.Metro.Resources:
For reference, see PR #887
Implemented a MetroNavigationWindow
. This is the re-implementation of System.Windows.Navigation.NavigationWindow in a Metro-style
For reference, see PR #801
TransitioningContentControl
.You can now provide a ContentTemplateSelector
for the TransitioningContentControl
.
ShowMetroDialogAsync
For reference, see PR #846
MetroProgressbar
is hidden. #812 #817ShowWindowCommandsOnTop="False"
not working for CleanWindowStyle
#894 #896Published by flagbug almost 11 years ago
Warning: This release has a few breaking changes.
A quick overview:
More details here: https://github.com/MahApps/MahApps.Metro/wiki/Breaking-Changes-or-WTF-is-happening-with-the-ALPHA-version
Other things:
As the last stable release was 8 months ago, not every feature/fix/PR is listed here.
Published by flagbug almost 11 years ago