You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you put a WindowsFormsHost inside a Metro window, sometimes the WinForms control will occasionally 'hang' in space after the introductory animation has completed and only move once an event (such as hovering over the 'close' box or tabbing out of the MaskedTextBox) has been processed.
The actual control in question doesn't seem to matter; I've experienced it with Button, MaskedTextBox and CheckedListBox off the top of my head. It also happens if the WindowsFormsHost is located inside of a StackPanel or even the root Content control, not just the nested GroupBox described in the example XAML.
@barbeque I added a TransitionCompleted event to MetroContentControl and WindowTransitionCompleted event to MetroWindow which will be fired after the loaded Storyboard is completed. So you can subscribe to this event and can fire InvalidateVisual() (@petvetbr suggested this in #2394). This will be available in 1.5.0.
/cc @kjeremy
When you put a WindowsFormsHost inside a Metro window, sometimes the WinForms control will occasionally 'hang' in space after the introductory animation has completed and only move once an event (such as hovering over the 'close' box or tabbing out of the
MaskedTextBox
) has been processed.The actual control in question doesn't seem to matter; I've experienced it with
Button
,MaskedTextBox
andCheckedListBox
off the top of my head. It also happens if theWindowsFormsHost
is located inside of aStackPanel
or even the root Content control, not just the nestedGroupBox
described in the example XAML.The test XAML to produce this window is:
I believe it is animation related because setting
WindowTransitionsEnabled
to false fixes the problem.I am using v1.1.2.0, grabbed from NuGet yesterday. OS is Windows 8.1 x64.
The text was updated successfully, but these errors were encountered: