metrowindow topmost property binding issue
See original GitHub issueI am using MahApps for my WPF application and when the metro window is used, the TopMost property is not able to bind. If i set it as a static value it works though.
<Controls:MetroWindow x:Class="SabreContractSearch.Views.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:prism="http://prismlibrary.com/"
xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
prism:ViewModelLocator.AutoWireViewModel="True"
Topmost= "{Binding Pin}" Title="{Binding Title}" Height="350" Width="525" Name="FrmMainWindow" >
Pin is a boolean property here.
If i remove the metro window and use the normal window tag for WPF, it works. Is this a bug?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
MahApps MetroWindow Topmost property Binding issue
It was a bug in ControlzEx v4.2.1. There is a Topmost hack which doesn't set the Topmost property of the Window using the...
Read more >Wpf window like metro window
Yes, it is possible to emulate a metro-like window in WPF. ... VerticalAlignment="Top" IsExpanded="{Binding IsMouseOver, ...
Read more >chqiuu/MahApps.Metro
[Fix] Issue where Binding issues on DateTimePicker/TimePicker are shown on ... New dependency properties for MetroWindow to set the brush and opacity for ......
Read more >News
This issue appears when binding to a property of DateTime and the date is DateTime.MinValue . Z-Order was wrong if MetroWindow is ignoring...
Read more >MetroWindow
The MetroWindow can be used with different borders. You can change the behavior by using the BorderBrush , GlowBrush and BorderThickness properties.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sg2707 It’s fixed now and available with ControlzEx v4.2.2
@sg2707 I found the bug. It happens at WindowChromeBehavior from ControlzEx. The Binding will be broken by our Topmost hack. I will fix this.