We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Caliburn.Micro.Demo add the following
ShellView.xaml
<Button MinWidth="90" Margin="2" cal:Message.Attach="[Event Click] = [Action RemoveFlyout]" Content="Remove Bottom" />
ShellViewModel.cs
public void RemoveFlyout() { Flyouts.RemoveAt(0); }
error happens in FlyoutsControl.cs line 104
private void DetachHandlers(Flyout item) { var isOpenChanged = DependencyPropertyDescriptor.FromProperty(Flyout.IsOpenProperty, typeof(Flyout)); var themeChanged = DependencyPropertyDescriptor.FromProperty(Flyout.ThemeProperty, typeof(Flyout)); isOpenChanged.RemoveValueChanged(item, this.FlyoutStatusChanged); themeChanged.RemoveValueChanged(item, this.FlyoutStatusChanged); }
isOpenChanged.RemoveValueChanged(item, this.FlyoutStatusChanged); is returning System.ArgumentNullException because item is null
private void DetachHandlers(Flyout item) { if (item != null) { var isOpenChanged = DependencyPropertyDescriptor.FromProperty(Flyout.IsOpenProperty, typeof(Flyout)); var themeChanged = DependencyPropertyDescriptor.FromProperty(Flyout.ThemeProperty, typeof(Flyout)); isOpenChanged.RemoveValueChanged(item, this.FlyoutStatusChanged); themeChanged.RemoveValueChanged(item, this.FlyoutStatusChanged); } }
is an easy fix but most likely the wrong one...here ends my expertise. I'll wait for a comment from one of the Gurus out there...
The text was updated successfully, but these errors were encountered:
fixed with #1681
Sorry, something went wrong.
No branches or pull requests
Using Caliburn.Micro.Demo add the following
ShellView.xaml
ShellViewModel.cs
error happens in FlyoutsControl.cs line 104
isOpenChanged.RemoveValueChanged(item, this.FlyoutStatusChanged); is returning System.ArgumentNullException because item is null
is an easy fix but most likely the wrong one...here ends my expertise. I'll wait for a comment from one of the Gurus out there...
The text was updated successfully, but these errors were encountered: