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

Same view showed twice

I would like to implement a "Module Switcher" in my application, which brings up an alt-tab like interface showing the open modules. Right now it is structured like this ModuleShellView ModuleSwitcherView …
Mark
  • 149
  • 11
0
votes
1 answer

How to access View-Propperties in the ViewModel, using Caliburn.Micro

Until now I only used the basic features of the Caliburn.Micro Framework. But now I want and need to to get deeper into it. Now I have the case that I need to access properties of the view (a Window) inside its view model. The details are the…
0
votes
1 answer

Problem with converting project from Caliburn.Micro to "normal" Caliburn

need convert project from caliburn.micro to normal caliburn. I have problem with bootstraper class. I caliburn.micro look like this: public class MefBootStrapper : BootStraper { #region Fields private CompositionContainer…
JMI
  • 11
  • 2
0
votes
0 answers

Raise NotifyOfPropertyChange() in BindableCollection when its child items are edited - Caliburn.Micro

This has been a handicap of ObservableCollection where the NotifyOfPropertyChange() was not triggered in the collection even when any of its child item implementing INotifyPropertyChanged is edited. BindingList seems to have the feature. I also…
0
votes
1 answer

Caliburn The dependency property target is invalid

I'm getting this annoying message in my XAML files: Anyone knows how to fix it? Visual Studio 2015 and 2017 Resharper Edit: My conclusion is that the framework doesn't contribute to this errors, it is a VS BUG or something else because it…
rubStackOverflow
  • 5,615
  • 2
  • 29
  • 43
0
votes
1 answer

PropertyChanged event not firing

I have a question about the PropertyChanged event firing from a base class. So I have a base class, called MainWindowBase with a property called SelectedItem and a collection called Items, actually derived in a lower base class. I populate Items,…
Will
  • 421
  • 2
  • 8
  • 23
0
votes
1 answer

Send menu item name as parameter to view-model method [WPF, Caliburn.Micro]

Hi I bind event PreviewMouseLeftButtonDown on view-model method, I would like send as parameter menu item name. in view I have this:
user481758
0
votes
1 answer

Mahapps Flyout content not showing with Caliburn.Micro

I chose to use Caliburn.Micro since open/close flyout was a challenge from a viewmodel. I have a challenge to display content from a second flyout and it shows only the header. I had tried every suggestion I could find in the net, please also…
jam
  • 11
  • 1
0
votes
0 answers

How to implement Caliburn.Micro style MVVM in Angular2

I have experience with WPF and MVVM with Caliburn.Micro and trying to implement a simple example in Angular2. I had in WPF: View: completely separated from business logic, only contains code for the view ViewModel: it contains the business…
Dávid Molnár
  • 10,673
  • 7
  • 30
  • 55
0
votes
1 answer

Caliburn Micro - Using IResult and rendering views

I am just getting started with Caliburn Micro and trying to wrap my head around IResult. To do so, I have written some dummy code. The code is meant to display "Loading..." in a text box until some lengthy operation (Task.Delay) completes, at which…
0
votes
1 answer

NotifyOfPropertyChange() is not notifying viewmodel properties

I have a simple WPF application and I would like to know why NotifyOfPropertyChange() is not working as I expect. I have a MainWindowViewModel with two properties and one button, and when I click the button I call NotifyOfPropertyChange() to notify…
Will
  • 421
  • 2
  • 8
  • 23
0
votes
2 answers

MVVM Dynamically add fields into View

I'm developing a WPF application using caliburn.micro MVVM framework.. In-order to develop a search screen, I need to dynamically load fields into the view, based on model properties. Consider below view and view model: SearchViewModel…
Rahul
  • 2,431
  • 3
  • 35
  • 77
0
votes
1 answer

Is it possible to serialize caliburn.micro bindablecollection ver 3.0.3?

there. I want to serialize 'BindableCollection' class in 'Caliburn.Micro ver=3.0.3'. I could serialize it in version 1.5.2. Maybe because there was 'using System.Runtime.Serialization;'. But in 3.0.3, there is no 'using…
dslee
  • 1
0
votes
1 answer

Xamarin.Forms Caliburn.Micro - Associate multiple Views with a single ViewModel

I am looking for some guidance on how to Associate multiple Views with a single ViewModel. We are developing an app using Xamarin.Forms Portable (VS.NET 2017) and Caliburn.Micro as an MVVM framework. The View would appear as /Views/DemoView.Xaml…
0
votes
1 answer

Caliburn.Micro can't find view for CustomerViewModel. What is wrong here?

I am using Caliburn.Micro to try to bind items in a ListBox to one of two views but a single viewmodel. I am able to display the items in the ListBox, but when any item is selected I get 'Cannot find view for CustomerViewModel.' Here are the…
Will
  • 421
  • 2
  • 8
  • 23
1 2 3
99
100