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

Export with MEF in Caliburn.Micro - Increasing memory problem

I have problem with increasing memory. I use MEF in caliburn.micro on creation new screen - WPF window. View model of screen/view look like this: [Export(typeof(IChatViewModel))] [PartCreationPolicy(CreationPolicy.NonShared)] public class…
user481758
0
votes
1 answer

Problem with MEF - ExportFactory in Caliburn.Micro

I use MEF in Caliburn.Micro for export view models classes. I would like use ExportFactory class rather than Export attribute because I try solve same problem as is described here: Object destruction problem with MEF I try solve this problem,…
user481758
0
votes
1 answer

UserControl binding from WPF User Control Library doesn't work with ContentControl

Why is binding for a Caliburn.Micro UserControl enclosed to WPF User Control Library not working with ContentControl? Initial Create new Wpf App v4.6.2 Install Nuget Caliburn.Micro v3.1.0 Install Nuget Caliburn.Micro.Start v3.1.0 Do adaptions like…
MarkusEgle
  • 2,795
  • 4
  • 41
  • 61
0
votes
1 answer

Application exits after closing modal Dialog

I'm working on a simple project to learn Caliburn.Micro I got two ViewModels SettingsViewModel and MainViewModel. I want to show the MainViewModel and immediatelly after show the SettingsViewModel as a modal Dialog, so the User can configure the…
steschwa
  • 95
  • 3
  • 8
0
votes
0 answers

User Control locked when one bound command is disabled

In my application, I have quite a few grids so I was working on creating a user control that has all of the possible buttons we would use with a grid (Add, Remove, Insert, Move Up, Move Down, etc). I use dependency properties to set the visibility…
Marc
  • 973
  • 4
  • 13
0
votes
1 answer

Method Deactivate and TryClose - Caliburn.Micro

I would be very grateful if someone explain my "differences" between method Deactivate and TryClose in MVVM framework Caliburn.Micro. For example my app has this structure: Shell (WPF window) SomeScreen (User control) - is active I know that…
user481758
0
votes
1 answer

UWP , C#, Caliburn.Micro Bubbling....How to bubble?

Here is my simple test project to try Caliburn.Micro+UWP. There is 2 button. Save : it make action on HelloViewModel. ( It worked : ) Bubble Save : I expect it make action on ParentViewModel but Not work... :( Could you give me your idea ? Why…
Kazuhiko Nakayama
  • 801
  • 1
  • 8
  • 24
0
votes
1 answer

GridView with Caliburn.Micro

I am working with Caliburn.Micro (UWP). and want to run this UWP application on my UWP Caliburn.Micro project. but Not work.... :( My Binding Knowledge maybe wrong. Could you help me ? First Here is original UWP project from Github. It is a Drag &…
Kazuhiko Nakayama
  • 801
  • 1
  • 8
  • 24
0
votes
1 answer

Caliburn.Micro - why uses UserControl instead of Window

My question is exactly like in the title. I'm starting with Caliburn.Micro for MVVM approach (which also is new for me) and in every tutorial the first step is to remove the default MainWindow.xaml file and create a new UserControl file. Why is…
Loreno
  • 668
  • 8
  • 26
0
votes
2 answers

How to use genenric class as parameter in IHandle<> from caliburn.micro?

I try to get the following thing working with no success. :-( I want to use a generic class as a parameter for the IHandle<> interface. Here is the sample code: public interface Message { T Payload { get; set; } } ... public MyViewModel :…
Matthias
  • 11
  • 1
0
votes
1 answer

How Caliburn.micro uses MEF to import custom plugins

I have some extension plugins in the plugins directory. I am going to import plugins in ViewModel and use it, but I can not import it successfully. I think I have no way to successfully configure the Configure, seek advice。 BootStrapper: public…
China.Wu
  • 11
  • 3
0
votes
1 answer

MVVM Main Menu Bar

I'm starting a new application for editing files, but I'm not sure how to implement the main menu bar in an MVVM way. It makes sense to create a separate MenuView which is composed into my ShellView, but then how do I wire it up to my…
Neil
  • 249
  • 3
  • 13
0
votes
1 answer

Caliburn Micro ActivateItem doesn't update binding

Consider a ShellViewModel : Conductor.Collection.OneActive where I have 2 ViewModels injected through PropertyInjection. So these viewmodel always have the same instance. public SomeViewModel SomeViewModel {get; set;} public AnotherViewModel…
Joris
  • 251
  • 3
  • 11
0
votes
1 answer

Parent and child model interaction

is it possible set something like wpf window owner in caliburn.micro ? I have PARENT VIEW MODEL, from this model I open CHILD SCREEN {VIEW MODEL} with this method: public IEnumerable Open() { yield return new…
user481758
0
votes
1 answer

Caliburn.Micro How to write?

I started to learn Caliburn.Micro with UWP. first, I found a good example at here. https://github.com/IanSavchenko/BleLab ( Thank you, Ian ) This application has BumbugerMenu + Caliburn.Micro. in this project, BumbergerMenu root is "Main". and…
Kazuhiko Nakayama
  • 801
  • 1
  • 8
  • 24
1 2 3
99
100