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

Updated Wiki: Documentation

DocumentationGetting Started IntroductionObtain and Build the CodeNugetCheat SheetSoup to Nuts Basic Configuration, Actions and ConventionsCustomizing The BootstrapperAll About ActionsWorking with...

View Article


Updated Wiki: Documentation

DocumentationGetting Started IntroductionObtain and Build the CodeNugetCheat SheetSoup to Nuts Basic Configuration, Actions and ConventionsCustomizing The BootstrapperAll About ActionsWorking with...

View Article


New Post: Unit testing a view model

Well, you can test this model like any other class. You have to instantiate MainViewModel, invoke a method and assert something))) Besides, I don't see any code that should be tested in your example....

View Article

New Post: Unit testing a view model

I got a reply about that here I guess I should have provided a more complex example, but my suggestion would be that there should be a unit test example in the examples folder in caliburn micro source.

View Article

New Post: Conductor for Child-ViewModels in Main-ViewModel.

My WPF application consists of a main screen, from which you can open different independent new windos (Screen). There are two ways of closing a child window:Closing a child screen should check for...

View Article


New Post: Login dialog from Bootstrappers OnStartup method

Digging up this old thread because I'm trying to get a similar behavior on Windows Phone 8. The challenge is that the ShowDialog call is throwing a NullReferenceException in the DialogHost...

View Article

Closed Issue: Execute.OnUIThread to allow specifying DispatcherPriority [304]

Some tasks, such as adding a lot of items in the TreeView could be long enough and I opt to execute them on UI thread with DispatcherPriority.ApplicationIdle.It would be nice to have parameter with...

View Article

Commented Issue: EvaluateParameter and special values [303]

Hi!I would like a parameter to be bound to a textBox's Text property. In such case, I don't see any way for CM to distinguish if the parameter is already evaluated or not.E.g.: if the user types...

View Article


Commented Issue: DefaultCloseStrategy.Execute throws NullReferenceException...

DefaultCloseStrategy chokes up, when I use coroutines in CanClose method of ViewModel (using Screen as base) and throws NullReferenceException:```public override void CanClose(Action<bool>...

View Article


New Post: ChangeLog

Ok, thanks!

View Article

Commented Issue: EvaluateParameter and special values [303]

Hi!I would like a parameter to be bound to a textBox's Text property. In such case, I don't see any way for CM to distinguish if the parameter is already evaluated or not.E.g.: if the user types...

View Article

Commented Issue: DefaultCloseStrategy.Execute throws NullReferenceException...

DefaultCloseStrategy chokes up, when I use coroutines in CanClose method of ViewModel (using Screen as base) and throws NullReferenceException:```public override void CanClose(Action<bool>...

View Article

New Post: Autowire fields and controls?

say I have field private int _data; and xaml<textblock x:name="Data"> can I make CM autocreate public Data{get{return _data;} set{_data=value; NotifyOfPropertyChange(()=>Data);}} and bind it?

View Article


Closed Issue: DefaultCloseStrategy.Execute throws NullReferenceException [301]

DefaultCloseStrategy chokes up, when I use coroutines in CanClose method of ViewModel (using Screen as base) and throws NullReferenceException:```public override void CanClose(Action<bool>...

View Article

Updated Wiki: Design-Time Support

Design-Time Support Article forthcoming...Enabling Caliburn.Micro inside the Visual Studio designer (or Blend) is quite easy.You have to set a Desinger-DataContext and tell CM to enable its magic in...

View Article


New Post: Autowire fields and controls?

CM will "auto bind" the name with the property on the viewmodel but it won't automatically create the property code...

View Article

New Post: Non-generic Bootstrapper obsolete?

I've just hit this issue as well. Is there a set of release notes I should be reading that describes these changes? Is there a list of breaking changes?

View Article


New Post: Autowire fields and controls?

why not actually? if it does that for commands, why not for properties? can any1 explain the technical reasoning behind it?

View Article

New Post: Autowire fields and controls?

Given what the framework does, I don't believe its necessary at all. But if you want to make it work fork a copy and have at it. I wouldn't subject those that put their time into maintaining the...

View Article

New Post: Autowire fields and controls?

Commands are not generated... Actually they are not even used by CM. In .NET you cannot create field, methods, or properties to existing types. You can create new types at runtime, but this means that...

View Article
Browsing all 1760 articles
Browse latest View live


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