New Comment on "Customizing The Bootstrapper"
I'm writing a plugin with caliburn micro, and thus I'm not setting an application. I suggest that WindowManager.ShowWindow, ShowDialog, etc. return actual objects, so that I can do a graceful shutdown....
View ArticleNew Post: WinRT AppBar button message attaching not works when open first time
Hello. First, thanks to all folks who developed such nice library. You ROCK! So here is my question. On page I have AppBar defined like this:<Page.BottomAppBar> <AppBar...
View ArticleNew Post: WinRT AppBar button message attaching not works when open first time
My guess would be a function of mixing viewmodel first with view-first? And the initialization of the viewmodel isn't happen correctly.
View ArticleNew Post: C1TabControl and OnActivate Issues
Hi, I have a MDI setup where the parent VM is defined with the type Conductor<Screen>.Collection.OneActive. Child view models are then added to the items collection. I am trying to then bind...
View ArticleNew Post: Using CM within a class library
Hi, I am currently working on a project and trying to apply the MVVM pattern with CM. My project consists in a class library that does all the business logic and provides UserControls to be used by an...
View ArticleNew Post: Using CM within a class library
Hi, I'm quite new to this myself, but I was trying to do as you were and had a similar problem when initialising views and VMs in a class library. This turned out to be down to the fact that...
View ArticleNew Post: ViewModel manipulating it's View
Probably a stupid simple answer to this but how do I go about having my ViewModel manipulate it's View? For instance, I have a Expander that I want to expand on a button click based on some criteria....
View ArticleNew Post: WinRT AppBar button message attaching not works when open first time
Hello, thank you for response. I use ShellView as Master, and change ActiveItem in it. So on page I have next hierarchy: ShellView -> StartView -> AppBarView. In StartView I have ViewModel for...
View ArticleCreated Unassigned: Provide PropertyChangedBase method for easy property...
In an effort to declutter my VM code I extended the PropertyChangedBase by the following method which I find very useful:``` public void SetAndNotify<T>(ref T field, T value, params...
View ArticleNew Post: ComboBox Binding Problem
Has something changed related to this in between 1.5 and previous version of CM? When i tried the above I could see it working without defining any data template for the combo box item (i could not...
View ArticleNew Post: Using CM within a class library
Hi, Thanks for your answer. The thing is, I have already provided my lib assembly and I could check it was in the AssemblySource with the debugger. My override is the following :protected override...
View ArticleNew Post: ViewModel manipulating it's View
Just a quick idea (I did not check it). If you want to do that only using binding, you could set up a property in your VM like that :public bool ShouldExpand { get { return...
View ArticleCreated Unassigned: Allow setting of default IsEnabled for elements with a...
My scenario: I've got a ViewModel which is a Conductor.Collection.OneAction, and in the corresponding View I have a button which I want to bind to a target in the ViewModel's ActiveItem.The trick is...
View ArticleCommented Unassigned: Provide PropertyChangedBase method for easy property...
In an effort to declutter my VM code I extended the PropertyChangedBase by the following method which I find very useful:``` public void SetAndNotify<T>(ref T field, T value, params...
View ArticleCreated Unassigned: When target binding changes to null, target is not...
On line 139 of Action.cs there's a test for e.NewValue == null. This has the effect of keeping the previous target if the target changes to null, rather than clearing the target, which leads to (in my...
View ArticleNew Post: Can't seem to attach a handler to a TextBox's PropertyChanged event...
I've tried the long- and short-form syntaxes shown under the "all about actions" topic in the documentation. They work for the LostFocus event but not for PropertyChanged. (There are also some WPF...
View ArticleNew Post: Can't seem to attach a handler to a TextBox's PropertyChanged event...
One can set UpdateSourceTrigger=PropertyChanged or LostFocus, but whereas there is a LostFocus event it doesn't appear that there is a PropertyChanged event that's raised by the TextBox. So it is not a...
View ArticleCommented Unassigned: Provide PropertyChangedBase method for easy property...
In an effort to declutter my VM code I extended the PropertyChangedBase by the following method which I find very useful:``` public void SetAndNotify<T>(ref T field, T value, params...
View ArticleCommented Unassigned: When target binding changes to null, target is not...
On line 139 of Action.cs there's a test for e.NewValue == null. This has the effect of keeping the previous target if the target changes to null, rather than clearing the target, which leads to (in my...
View ArticleSource code checked in, #1ed777d72109cab25fe469390e610ed0417e4ff6
fix IoC.GetAll<T>() implementation
View Article