New Post: TryClose() closes the view twice if a DialogResult is specified in WPF
I know this is an old post but it seems to be relevant to my current issue. I'm using WPF 4.0 and the CM 1.5.2. When closing a dialog the window is not being closed. This only happens when i specify a...
View ArticleNew Post: WindowManager.ShowDialog doesn't not attach the correct view to the...
Hi all, I have ViewModels in my application that can be shown in a dialog or inside a panel in the shell dock layout manager and for that reason its View is a UserControl. The problem I'm having is...
View ArticleNew Post: How to pass other element source
Hi, I want after click button pass TreeView source to SearchTreeView event, This method not work.<Button x:Name="SearchTreeView" Content="Search in TreeView" cal:Message.Attach="[Event Click] =...
View ArticleNew Post: How to pass other element source
This Method work, not possible short syntax worked?<Button Content="Search in TreeView" Height="34" Width="100"> <i:Interaction.Triggers> <i:EventTrigger EventName="Click">...
View ArticleNew Post: WindowManager.ShowDialog doesn't not attach the correct view to the...
can you show us how you're calling the method and where, also what you are supplying it?
View ArticleNew Post: Caliburn.Micro ContextMenu event not work
Hi, ContextMenu Opened event not work.<TextBlock Text="{Binding Header}" > <TextBlock.ContextMenu> <ContextMenu cal:Message.Attach="[Event Opened] = [Action...
View ArticleNew Post: Data Binding a DataGridComboBoxColumn
I'm trying to populate a DataGridComboBox Column from a List<header> property from the according ViewModel.<DataGrid Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"...
View ArticleNew Post: Yet Another Splash Screen Discussion :)
I'm new to CM and mostly loving it. I have but one gripe so far: I don't know how to use the Conductor/Screen architecture to show a progress-updating splash screen. I'm sure I'm just looking at the...
View ArticleNew Post: Yet Another Splash Screen Discussion :)
I'm assuming WPF in this answer but I'm guessing it should be applicable to other targets, with tweaks I've been musing over the same issue for a while now and I think I have a couple of options which...
View ArticleNew Post: WindowManager.ShowDialog doesn't not attach the correct view to the...
You can see this issue by creating the view model and the view bellow: View model: public class FooViewModel : Screen { protected override void OnViewAttached(object view, object context) {...
View ArticleNew Post: Data Binding a DataGridComboBoxColumn
Solved it with:<DataGridComboBoxColumn Width="*"> <DataGridComboBoxColumn.ElementStyle> <Style TargetType="ComboBox"> <Setter Property="ItemsSource" Value="{Binding...
View ArticleNew Post: Yet Another Splash Screen Discussion :)
Thanks for the suggestions. I'll look into them; offhand for my scenario I somewhat prefer the Context Views strategy as I may need to revert back to AuthenticationRequired if a logged in session...
View ArticleNew Post: Yet Another Splash Screen Discussion :)
I'm guessing that's simply due to NotifyPropertyChange does it's updating on the UI thread async, and the UI thread is sleeping? Try creating a background worker thread that sleeps and posts the...
View ArticleNew Post: ShellToast Windows Phone
Hello! How can i navigate with Caliburn.Micro from a ShellToast in Windows Phone to a ViewModel? Original Example: Microsoft.Phone.Shell.ShellToast toast = new Microsoft.Phone.Shell.ShellToast();...
View ArticleNew Post: Hitting Enter causing Logout of Authentication Service (Cocktail +...
Inspecting the stack trace you should be able to identify what actually trigger the logout operation. To be able to properly debug the application, you can even disable Visual Studio 'Just My Code'...
View ArticleNew Post: Hitting Enter causing Logout of Authentication Service (Cocktail +...
I have done that and Can only see that the CaliburnMicro Binder is involved. let me get a stack trace by reproducing the issue.
View ArticleNew Post: Hitting Enter causing Logout of Authentication Service (Cocktail +...
Ok, so I was getting the stack trace, which was still utterly useless in debugging this, When I noticed something I should have seen a long time ago. I found this in my output. ActionMessage INFO:...
View ArticleNew Post: Hitting Enter causing Logout of Authentication Service (Cocktail +...
I'm afraid you need to use a profiler and analyze the retention graph... It's pretty much impossible to determine what's keeping the object on memory without having a look at the actual code...
View ArticleCommented Unassigned: Caliburn.Micro subscribes multiple times to...
I have the problem that CM seems to subscribe twice to PropertyChanged. Or, depending on the POV / expected behavior: It doesn't *unsubscribe* when the item is deactivated.The scenario is the...
View ArticleClosed Unassigned: Caliburn.Micro subscribes multiple times to...
I have the problem that CM seems to subscribe twice to PropertyChanged. Or, depending on the POV / expected behavior: It doesn't *unsubscribe* when the item is deactivated.The scenario is the...
View Article