Questions tagged [caliburn.micro]

Use this tag for questions related to using Caliburn.Micro framework, troubleshooting issues, and discussing best practices in MVVM development.

Caliburn.Micro is a lightweight MVVM (Model-View-ViewModel) framework for WPF, Silverlight, and UWP platforms. It follows convention over configuration, making it easier to build maintainable and testable applications.

2062 questions
17
votes
2 answers

Caliburn Micro and ModernUI Examples/Tutorials

does anyone have an example or tutorial on how to use Caliburn Micro together with ModernUi (https://mui.codeplex.com)?
Matthias
  • 340
  • 1
  • 2
  • 8
16
votes
1 answer

Does Caliburn.Micro play nicely with user controls?

I'm a novice WPF programmer. I'm trying to add some structure to my code: both User Controls and MVVM. Researching here, I've found that people recommend Caliburn.Micro. On the other hand, I've found some complaints here and elsewhere about…
Avi
  • 15,696
  • 9
  • 39
  • 54
16
votes
2 answers

Visibility Autobinding with naming convention

I really like Caliburn and the naming convention binding and was surprised that the Visibility is not bound in the same way the "CanNAME" Convention is used to guard an Action. As far as I know is the BooleanToVisibilityConverter only used when…
ride4sun
  • 169
  • 1
  • 3
15
votes
3 answers

Add multiple views inside a view using WPF and Caliburn.Micro

I'm trying to learn using Caliburn.Micro with WPF. How can I add multiple views inside a view? Another view, with viewmodel:…
diamondfish
  • 173
  • 1
  • 1
  • 8
14
votes
1 answer

Caliburn.Micro getting it to bind UserControls in a MainView to their ViewModels

I have a MainView.xaml, binding to a MainViewModel just fine. What I wanted to try out was splitting a lot of controls I have on my main form into UserControls. Now I put the UserControls inside the Views folder along with the MainView and named…
Mark W
  • 3,879
  • 2
  • 37
  • 53
14
votes
1 answer

How to do caliburn.micro binding of view model to combobox selected value?

I'm relatively low on the curve for both WPF and Caliburn.Micro. My goal here is to move the binding of the combobox selected item from the ShellView's code behind to the View Model, the same as it already is for the combobox's item…
Aaron Anodide
  • 16,906
  • 15
  • 62
  • 121
14
votes
1 answer

Caliburn Micro cancel window close from ViewModel

When the user clicks the close button of a Window, is it possible to cancel the close from the ViewModel or do I have to resort to code behind? From what I can tell, CanClose or TryClose doesn't do the trick.
Kristoffer Lindvall
  • 2,674
  • 1
  • 18
  • 27
14
votes
3 answers

using attached events with caliburn micro Message.Attach

I'm trying to use caliburn micro message to trigger an attached event that I created: public static class DataChanging { public delegate void DataChangingEventHandler(object sender, DataChangingEventArgs e); public static readonly…
Clueless
  • 1,190
  • 2
  • 14
  • 30
14
votes
2 answers

WPF Caliburn.Micro and TabControl with UserControls issue

I'm pretty sure this has been answered somewhere, but I can't seem to find it for the life of me. I'm trying to use a TabControl to switch between UserControls (each tab is different, so not using Items) Here's the breakdown: I have my mainview, and…
Para
  • 836
  • 8
  • 18
14
votes
3 answers

Combining MahApps.Metro and Caliburn.Micro

Well im trying to use MahApps.Metro and Caliburn.Micro together but im getting some problems Here is my bootstrapper public sealed class TestBootstrapper : Bootstrapper { private CompositionContainer container; protected…
Peter
  • 37,042
  • 39
  • 142
  • 198
14
votes
2 answers

WPF Context Menus in Caliburn Micro

I'm trying to get a context menu within a ListBox ItemTemplate to call a method on the parent view model, passing in the item that was clicked on as a parameter. I have this working for other buttons in the item template, but for the context menu it…
jonnii
  • 28,019
  • 8
  • 80
  • 108
13
votes
2 answers

Send a boolean as an Action parameter in Caliburn Micro

This is my XAML View (some code omitted for readability):
13
votes
1 answer

Visual Studio error: "The debugger cannot unwind to this frame." on any exceptions

I used to be able to edit and continue when an exception occurred in my Visual Studio 2015 C# (WPF if relevant) projects. I often get simple things like null reference exceptions, and I could just quickly fix the issue and continue. However,…
Joe
  • 6,773
  • 2
  • 47
  • 81
13
votes
2 answers

Bind a Property that is outside of an Itemscontrol in XAML

I am trying to bind a Property that is outside of an Itemscontrol. However that doesn't seem to work. It seems that in ItemsControl, DataTemplate it refers to what is inside of the collection and not outside of it. I have tried with RelativeResource…
Khiem-Kim Ho Xuan
  • 1,301
  • 1
  • 22
  • 45
13
votes
1 answer

Caliburn.Micro and MEF on wpf

I am just learning WPF and Caliburn.Micro. I am following the code that presented here: http://caliburnmicro.codeplex.com/wikipage?title=Customizing%20The%20Bootstrapper&referringTitle=Documentation Apparently this code is for Silverlight but my…
mans
  • 17,104
  • 45
  • 172
  • 321