Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Browsing all 1760 articles
Browse latest View live
↧

New Post: SimpleDemo translate to VB.NET

Hello, I'm not familiar with C #. Somebody has already translate simpleDemo in vb.net ? thanks

View Article


New Post: Sharing user control between views

Hi, I have a child View (and corresponding VM) that wraps some common functionality (similar to ASP.NET user control). I have two parent views that reference this view the same way<ContentControl...

View Article


New Post: ArgumentException Error - Value is not a hop source in the route.

What does this error mean? It's occurring in the Startup of my App.xaml.cs and I don't even know what to look for. Any direction would be appreciated.

View Article

New Post: Sharing user control between views

Ok, I found the issue. MEF was loading the child VM when the Shell did an ImportMany but my child view was being bound to the ViewModel by a cal:Bind:Model as well. By removing the cal:Bind:Model which...

View Article

New Post: Static IoC bindings

Ah i misread Rob's thread I pointed earlier, the question he was trying to answer was when multiple IoC are available, in my case there is only one bootstapper/IoC but when multiple instance of the...

View Article


New Post: Static IoC bindings

What he means there is that the IoC just wraps a container, so it would be possible to wrap multiple containers, given the ability to discriminate among them. If a single container (or container...

View Article

New Post: Static IoC bindings

Thanks Fortunately I own the module code and can set up some ID based context, but then the type (somenamespace.someclassname) would remain the same between multiple instances right? i.e. In my...

View Article

New Post: Static IoC bindings

As long as the module is in full control of registration and retrieval , I think you don't need to modify the IoC. Let's say you currently register an object of type T, with key "Shell" in your module....

View Article


New Post: Static IoC bindings

I see your point, one main issue is that I am working on a big enterprise project where there are going to host multiple modules inside the container, we'd like to use CM but would want to avoid any...

View Article


Source code checked in, #2f105532dc146586a1189d3361b114cddf03884e

Update to 8.1 RTM and VS 2013 RC

View Article

New Post: Sharing user control between views

Then just Pass an object in the eventaggregator in which you can Set some property which states for what view this Message is for (e.g. some enum)

View Article

New Post: Static IoC bindings

If the enterprise project is quite complex, I suppose modules have a specific interface or structure, so it would be a good idea to include the 'context' concept in them. Another options could be to...

View Article

New Post: Prevent All Dependencies From Loading

I am investigating migrating application that works in two modes, as a standalone application and as a plugin that integrates into another program, to use CM as the MVVM framework. I have setup the...

View Article


New Post: Prevent a button from being clicked repeatably

Bladewise, Thanks for the reply. That's what I thought and I previously tried something very similar to what you posted. Based on your code, I've implemented the followingprivate bool isBusy = false;...

View Article

New Post: Problem with validation using Conductor.Collection.OneActive

To anybody stuck on this... I spent a solid few hours hung up on this. Here are the solutions I had that worked.Manually define your TabItems and wrap the contents with an AdornerDecorator, or Follow...

View Article


New Post: Prevent a button from being clicked repeatably

Note that CanRequestData changes should be triggered whenever AccountViewModel.Accounts.Count changes, otherwise the displayed state would not match the actual guard value. If the action is performed...

View Article

Commented Unassigned: Caliburn.Micro subscribes multiple times to...

I have the problem that CM seems to subscribe twice to PropertyChanged. Or, depending on the POV / expected behavior: It doesn't *unsubscribe* when the item is deactivated.The scenario is the...

View Article


Commented Unassigned: Caliburn.Micro subscribes multiple times to...

I have the problem that CM seems to subscribe twice to PropertyChanged. Or, depending on the POV / expected behavior: It doesn't *unsubscribe* when the item is deactivated.The scenario is the...

View Article

Edited Feature: [Phone] Tombstoning Doesn't Support Composite View Models [139]

The scenario in question is that in a WP7 app, a view model (a Conductor for example) has an Items collection, which may contain other view models. The user can add new items on the fly, and therefore...

View Article

Edited Feature: [SL5] Add MultiWindow Support to WindowManager [199]

Add MultiWindow Support to SL5 WindowManager

View Article
Browsing all 1760 articles
Browse latest View live