Newsletter signup (with exclusive discounts): (your email will be kept safe and you will not be spammed). Facebook …

source

24
Leave a Reply

avatar
24 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
haydar M.Al-samaweMitja KlokočovnikMihai DumitruMichael HowardGrampy Gamer Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Nabil Berrada
Guest

Thank you soo mush for sharing !! Great content Great Video ! I loooove it

Matías Catanzariti
Guest

Hello Tim, thanks for a great video. There is something I don't understand. At 34:24 if I bind TextBlock and TextBox the way you did it, it works well as you show in the video. Instead, if I do it the other way around (I mean <TextBlock x:Name="FirstName"/>
<TextBox Text="{Binding Path=FirstName, Mode=TwoWay}"/>) my TextBlock does not get updated. I also tried binding TextBlock OneWay and TextBox TwoWay, and TextBlock does not get updated either. Is it normal? Can you figure out a reason?
Thanks!

Christian Kloster
Guest

When i delete startupuri in app.xaml i get the error 'Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 5, position 5.' Any idea why?

Leslie Murphy
Guest

Where is the link to the blog post with the sample code? Also have you used MahApps.Metro with Caliburn?

ivohckp
Guest

Hey Tim, how can we disable a button, based on if we selected something in a comboBox.
In my case, I'm making a string based on what I read from textbox and selected "string" in combo box

Grampy Gamer
Guest

Hi Tim, great course as ever. Just one question. I noticed you put your button code in the actual ShellViewModel, and not in the ShellView.xaml.cs (via the event onclick), is this normal practice for MVVM? I've added my button via the add event (click). But noticed, that I cannot reference the model properties with out referencing the ViewModel in the xaml.cs. Or am I missing something with Caliburn.Micro MVVM as mentioned?

Michael Howard
Guest

Tim it seems your site is down. How else can I acquire that next course?

Michael Howard
Guest

Tim Corey quote of the day. It looks like Garbage. It does.

Mihai Dumitru
Guest

For some reason I cannot bind a button only by x:Name="MyMethod", it is simply not doing anything if I am not adding cal:Message.Attach="MyMethod" too. I am doing something wrong? Here is my entire code, it is only working with cal:Message.Attach added: <Button x:Name="UpdateFileTest" ToolTip="Update selected row" Content="Update" cal:Message.Attach="UpdateFileTest"/> I am getting System.Exception: 'No target found for method UpdateFileTest.' if I am passing to my UpdateFileTest method a parameter named selectedRfileTest. public async Task UpdateFileTest(Rfile selectedRfileTest) { await ReportingConnector.UpdateFileStatusAsync("Test", SelectedRfileTest); await RefreshListTest(); NotifyOfPropertyChange(() => FilesTest); NotifyOfPropertyChange(() => SelectedRfileTest); } public bool CanUpdateFileTest(Rfile selectedRfileTest) { bool output = false; if (selectedRfileTest !=… Read more »

Mitja Klokočovnik
Guest

Are the parameters on the button click (ClearText function) passed in because of caliburns naming conventions?

haydar M.Al-samawe
Guest

Tim, I just do not understand how you bind the first and second child to the ContentControl?

Moon Moon
Guest

Thank you. You are a legend

Attila Kováts
Guest

When I use the ContentControl Tag, and i want it to show the exact xaml (like it did for you), it doesn't show anything. It only shows a part of it if I put a textblock in it or smth (any kind of controller). Why is that? Thanks for you answer in advance.

Jesse MacDonough
Guest

This is so powerful, especially considering that for buttons, as long as your naming conventions are correct, there's all the wiring that isn't needed. I never realized that this was possible with the Caliburn.Micro package. Thanks for walking through it so completely, Tim!

Adymn Sani
Guest

Hi, thanks for the video. Just getting started with Binding, so needed some reference on MVVM…wondering if "package.config" that shows up in your Solution Explorer (but not in mine) is a required file? I can't find reference via Google searches of it's requirement.

Lisbuiroj7uguheth Wittendorff Lorentzen
Guest

Hi – great video. For some reason my window does not scale automatically like in the video. I have tried to figure out if I miss some code, but can no see where? Chears Lisbeth

dwaino
Guest

This is absolutely brilliant. I was taught MVVM from scratch and I sometimes found setting up the 'plumbing code' to get it working a bit of a headache. I am always a little dubious of using magic words but I think it will be OK once using Caliburn Micro becomes second nature. Using this a new WPF project can be setup for MVVM in minutes.

DiasFerreira Carlos
Guest

Mate, at minute 16:00 when I add the namespace of the ViewModel to the Bootstrapper. The project compiles and I can run it. However, the WPF Window says "Cannot find view for ShellViewModel" Any idea what's happening? Any other changes I do to the View do not even take effect. Thanks

Hans Zarkov
Guest

i'm just trying to get my first wpf app up and running. you kinda lost me with this mvvm stuff. i ended up switching to a different youtube channel. i don't need mvvm in the beginning

Adonis briceño
Guest

Tim,… this link: "https://www.iamtimcorey.com/p/c-application-from-start-to-finish" is only the Winform course or does it included the upgrade to WPF ?

Ralph MacFadden
Guest

Thanks for the video. Small thing: Simple is good. Simplistic is not. They are not synonyms. Something simplistic has been gutted of something important from the original idea.

Viswa Vivek
Guest

Hi Tim, I am getting error when running it. I have checked bootstrapper, Shell view model below the errors:Severity Code Description Project File Line Suppression StateError XLS0515 All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. WpfApp1 App.xaml 13 Error XDG0046 Each dictionary entry must have an associated key. WpfApp1 App.xaml 13 Error XLS1102 The attribute 'key' from the XAML namespace is not defined. WpfApp1 App.xaml 13 Error XDG0032 The property "key" does not exist in the "http://schemas.microsoft.com/winfx/2006/xaml" namespace. WpfApp1 App.xaml 13 Error The attribute 'key' does not exist… Read more »

Henri Vandamme
Guest

gold!

haydar M.Al-samawe
Guest

i want to give you more than one like