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
0
votes
1 answer

Caliburn.Micro Throws an error on .net 4.0 but works on .net 4.6.1

I have a really strange situation on my hands. For starters, this is my first Caliburn.Micro project. The project is using Caliburn.Micro 3.1.0 and it's targeting .net 4.0. The problem is that the application works great on systems that have 4.6.1…
andySF
  • 556
  • 7
  • 30
0
votes
0 answers

Caliburn View Model First only in part of project

Is it possible to have the Caliburn.Micro ViewModel first feature without attaching the bootstrapper to App.xaml and without calling DisplayRootViewFor() in the OnStartup() method? Best regards
Yannik
  • 709
  • 1
  • 7
  • 11
0
votes
1 answer

Why is Caliburn Micro binding some views but not others despite same naming conventions?

I have 3 ViewModels: App.ViewModels.LoginViewModel App.ViewModels.NavigationViewModel App.ViewModels.AbcViewModel and 3 Views: App.Views.LoginView App.Views.NavigationView App.Views.AbcView In my AppBootstrapper, LoginView is loaded like…
0
votes
1 answer

Avalondock close document with MVVM

We have a working avalondock implementation that listens to onclosing events, if the document is not saved the user gets a chance to save it etc. Works well. Now a user wants a close button from the File menu and it should work like the built in…
Anders
  • 17,306
  • 10
  • 76
  • 144
0
votes
1 answer

FluidMoveBehaviour in Silverlight

I'm trying to use FluidMoveBehaviour from the Dynamic Layout and Styles presentation at MIX 2010 in combination with MVVM (Caliburn.Micro). The Master/Detail behavior is what I'm after. It isn't working and I would like to find out what's happening…
Thomas Stock
  • 10,927
  • 14
  • 62
  • 79
0
votes
1 answer

How to get object TextBlock from View and manipulate it in the ViewModel?

I am using Caliburn.Micro in a WPF project with c#. I wanted a way, like in android to find a "TextBlock" in a xaml view by it's "id" so that I can manipulate its properties. I was thinking of doing something like this but for c#: TextBlock…
Daniel
  • 2,028
  • 20
  • 18
0
votes
2 answers

Inject many classes in view model class

I develop wpf app with MVVM design. As MVVM framework I use Caliburn Micro. Service I have in external assembly, and it is injected in view models classes with MEF. Problem in service I have many small class, I try respect SOLID…
user572844
0
votes
1 answer

Call method in view model call which take/consume much of time

Hi I try solve this situation. I have WPF app with MVVM design. I use Caliburn Micro framework and on injection MEF. In WPF app I use service from external assembly. It works good. Problem is. I bind observable dictionary to listbox. Listbox can…
user572844
0
votes
1 answer

Does Caliburn require an element convention for a given object to map a ViewModel instance of it to a View instance?

I'm trying to map a Canvas object in my ViewModel to a Canvas object in my View. However I get a "CompositionException was unhandled by user code" error when I run. Commenting out my Canvas object in the ViewModel prevents the error, so I'm…
Don Becker
  • 133
  • 5
0
votes
1 answer

Caliburn.Micro binding parent property in Child View. ( UWP )

in Caliburn.Micro, I want to bind Parent property in Child View(ViewModel). First is simple example. This is Child View(XAML).…
Kazuhiko Nakayama
  • 801
  • 1
  • 8
  • 24
0
votes
3 answers

Calling method of Map control with Caliburn Micro and WP7

I have a page (view) in my Windows Phone 7 application that uses the Silverlight Map control. I need to call the SetView method on the control, but I'd like to stick to the MVVM style of keeping functionality in the view model. I plan to call this…
David Gardiner
  • 16,892
  • 20
  • 80
  • 117
0
votes
1 answer

Caliburn Micro MVVM getting comboBox to display a ViewModel screen

I have a combobox displaying the lists within it perfectly in the ViewModel but I'm looking to have it so that when a selected item from the list is chosen it fires the ViewModel screen and I only want one from the list to do this? So here is what I…
user8512797
0
votes
1 answer

Validation rule for WPF treeview that has no selected item

I have a treeview in WPF and I bind the nodes via caliburn micro from a viewmodel. I want to set a simple validation: when no node is selected, the treeview should be in error state and show a message, else not. For other controls like textbox or…
StefanG
  • 1,234
  • 2
  • 22
  • 46
0
votes
1 answer

Syntax error in PropertyPath 'Unmatched parenthesis' in Data Grid

I am binding my Data Table to a data grid via ItemsSource. If any column name contains either a left or a right parenthesis, it's throwing some exception i.e An error occurred while dispatching a call to the UI Thread am using MVVM Pattern. Here…
raghava arr
  • 183
  • 1
  • 14
0
votes
1 answer

Don't serialize Caliburn.Micro IsNotifying property

I'm implementing INotifyPropertyChanged in my ModelBase class so that all of my derived classes have access to the INotifyPropertyChanged methods and events. I'm using Caliburn.Micro in my project so I was doing this by implementing…
Marc
  • 973
  • 4
  • 13