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

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 Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article


New 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 Article

New 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 Article

New 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 Article


Created 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 Article


New 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 Article

New 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 Article

New 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 Article

Created 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 Article


Commented 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 Article

Created 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 Article


New 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 Article

New 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 Article


Commented 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 Article

Commented 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 Article

Source code checked in, #1ed777d72109cab25fe469390e610ed0417e4ff6

fix IoC.GetAll<T>() implementation

View Article
Browsing all 1760 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>