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
35
votes
4 answers

MVVM, Unity, Prism, MEF, Caliburn - What should I use?

Please help - I'm getting lost! I'm writing a small desktop application which has some controls and some screen. This should later be integrated with a small web site, also having some screens. The idea is to let the user edit videos and select…
Avi
  • 15,696
  • 9
  • 39
  • 54
32
votes
1 answer

Attach to multiple events with Caliburn.Micro

I am working on a Windows Phone 8 project with Caliburn.Micro and I want to attach to 2 separate events on the same button. What is the syntax for doing this? I have tried a few combinations of the below but keep getting an error from Caliburn…
dkarzon
  • 7,868
  • 9
  • 48
  • 61
32
votes
1 answer

Autofac and Func factories

I'm working on an application using Caliburn.Micro and Autofac. In my composition root I'm now facing a problem with Autofac: I have to inject the globally used IEventAggregator into my FirstViewModel, and a second IEventAggregator that has to be…
Sergio
  • 2,078
  • 3
  • 24
  • 41
30
votes
3 answers

Caliburn.Micro support for PasswordBox?

The Caliburn.Micro home page at http://caliburnmicro.com makes the below claim but I am unable to make CM work with a PasswordBox control using any variation I can think of from that example. Don't see how this would work anyway since the names are…
Dave
  • 1,822
  • 2
  • 27
  • 36
29
votes
1 answer

ReactiveUI and Caliburn Micro together?

I've been doing some prototype work on a new Silverlight application using Caliburn Micro as our MVVM Framework. The team has generally been happy with it. In order to address some issues with throttling requests to services, it was suggested that I…
Steve Brouillard
  • 3,256
  • 5
  • 41
  • 60
27
votes
7 answers

Remove navigation bar on Xamarin Forms app with Caliburn.Micro

When using the FormsApplication base class with a brand new Xamarin.Forms app using Caliburn.Micro, I end up with an empty navigation bar at the top of my screen. I assume it's being created by Caliburn.Micro somehow, because an out-of-the-box…
Brian Sullivan
  • 27,513
  • 23
  • 77
  • 91
25
votes
1 answer

Different View depending on ContentControl (Caliburn.Micro)

I'm binding ViewModels to ContentControls and letting Caliburn taking care of creating and binding the view. However, I would like to customize Caliburns ViewModel->View convention based on which ContentControl I'm binding to. For example, a regular…
Kristoffer Lindvall
  • 2,674
  • 1
  • 18
  • 27
24
votes
2 answers

How to capture combobox selection in Caliburn Micro?

I am just starting with Caliburn Micro. I want to have a combo box with a list of strings, and when the user selects an item, I want to have some notify method called. It should be simple, right? I am impatient, and 5 minutes of Googling has not…
Daniel Williams
  • 8,912
  • 15
  • 68
  • 107
21
votes
4 answers

Must create DependencySource on same Thread as the DependencyObject

I bind observable dictionary from view model to view. I use Caliburn Micro Framework. View:
user572844
21
votes
1 answer

Bind to parent datacontext (out of itemsource)

In my Windows Phone 8 app I have list of items. I have defined ItemTemplate for list items. I want to display in each of these items one value from view model, not from the list item itself. How should I set up the binding from list item to…
devha
  • 3,307
  • 4
  • 28
  • 52
20
votes
3 answers

Caliburn Micro 'Enter' Key Event

I am attempting to bind an event with Caliburn Micro and I am having some issues getting the right messages to the method. I would like to add the ability to press the 'Enter' key after changing the value in a text box and it execute the same method…
spugm1r3
  • 3,381
  • 3
  • 17
  • 18
19
votes
4 answers

MahApps MessageBoxes using MVVM

Simple question for the MahApps Merry Men. I have implemented an application using your great metro styled controls using Caliburn.Micro for the MVVM stuff. The new message dialogs look great, but currently there is not clear way of launching these…
MoonKnight
  • 23,214
  • 40
  • 145
  • 277
19
votes
3 answers

How to close dialog window from viewmodel (Caliburn+WPF)?

I haveViewModel1 and View1 associated with it. I start dialog window from ViewModel2 (some another viewmodel) using IWindowManager object. The code from ViewModel2 class: windowManager.ShowDialog(new ViewModel()); So, I have Dialog Window with…
Witcher
  • 1,070
  • 2
  • 15
  • 38
18
votes
3 answers

Caliburn Micro Guard Methods not evaluating on property change

I've been playing with the Caliburn Micro MVVM framework and am having some problems with guard methods. I have a view model: public class MyViewModel : PropertyChangedBase, IMyViewModel A property: public DateTime? Date { get{return this.date;…
Charlie
  • 10,227
  • 10
  • 51
  • 92
18
votes
3 answers

How to use Dependency Injection with Conductors in Caliburn.Micro

I sometimes use Caliburn.Micro to create applications. Using the simplest BootStrapper, I can use IoC container (SimpleContainer) like this: private SimpleContainer _container = new SimpleContainer(); protected override object GetInstance(Type…
Nestor
  • 8,194
  • 7
  • 77
  • 156
1
2 3
99 100