C# WPF Tutorial #19 - Opening Custom Windows with Show and ShowDialog

  Рет қаралды 16,386

Kampa Plays

Kampa Plays

Күн бұрын

Пікірлер: 20
@davidjennings6293
@davidjennings6293 3 ай бұрын
Thanks! This series is VERY helpful.
@KampaPlays
@KampaPlays 3 ай бұрын
Thank you so much. Really appreciate it and I'm very glad it helped!
@Charlesw_88
@Charlesw_88 Жыл бұрын
Very helpful video. Appreciate these WPF tutorial videos.
@KampaPlays
@KampaPlays Жыл бұрын
Thank you, glad to help!!
@cantcatchme6749
@cantcatchme6749 8 ай бұрын
Hey, if you're strictly adhering to MVVM architecture, is it better to instantiate/show windows in the code-behind, or in the ViewModel? From what I understand, putting view-related logic in the ViewModel is a violation of the MVVM pattern, but there's a lot of conflicting answers to this online. Also, congrats on the great tutorial.
@KampaPlays
@KampaPlays 7 ай бұрын
Thanks! Lots of conflicting answers on this one is the truth -- this is a very touchy subject with a lot of people. My opinion (take it with a grain of salt) is if you are strictly adhering to it, then you should not, but instead use something like a window service interface/dependency injection to achieve full separation. Further opinion (more grains of salt): I rarely advise projects to adhere extremely strictly unless the project is massive/lots of moving parts (easier on maintenance), or uses a large varied or inexperienced team (easier on peer review/prevents laziness). As long as you succeed in the separation of concerns in both dev and test - it is very beneficial. Strict rules (like zero code behind) generally just slow down development and introduce unnecessary complexity. Hope this helps.
@fooballers7883
@fooballers7883 Жыл бұрын
I can see this channel going places... Thank you for a brilliant tutorial...short and sweet
@KampaPlays
@KampaPlays Жыл бұрын
Thanks so much, glad it is helpful!
@bvc-vidadeprf9064
@bvc-vidadeprf9064 Жыл бұрын
That was a wonderful video. You helped me a lot. Can you teach how to create some mvc model? To change main windows with a controller? using a 'panel' or directly in the 'grids'. ❤
@KampaPlays
@KampaPlays Жыл бұрын
Thank you, I'm glad it helped! In just a few videos i will be starting a set of videos on MVVM. It's extremely close to MVC, except it uses a "view model" as a controller, and fits really well with WPF.
@bvc-vidadeprf9064
@bvc-vidadeprf9064 Жыл бұрын
@@KampaPlays this is wonderful! So I'll be waiting anxiously for the next videos
@RD-mh2cn
@RD-mh2cn Жыл бұрын
Merci pour vos didacticiel très explicites
@KampaPlays
@KampaPlays Жыл бұрын
Thank you!!
@朱亚君-m9b
@朱亚君-m9b Жыл бұрын
Nice and Fine
@KampaPlays
@KampaPlays Жыл бұрын
Thanks!!
@rahulgoutham7102
@rahulgoutham7102 Жыл бұрын
What is the difference between "x:Name" & "Name" attributes ?
@KampaPlays
@KampaPlays Жыл бұрын
Name is a property on a class in .NET. x:Name is a XAML-specific attribute that all elements can have. Functionally, they are basically the same thing. I generally only use x:Name when Name isn't available, but that's just me.
@harimohanshukla4237
@harimohanshukla4237 Жыл бұрын
Could you please organise some virtual live session's as well so that people who have any doubts after video can ask
@KampaPlays
@KampaPlays Жыл бұрын
I would really like to do this, but at the moment I don't have the time. Currently work is keeping me so busy that I'm a bit behind on creating the videos themselves, but maybe once things calm down I can do something like this. Thank you for the suggestion, and for watching!
C# WPF Tutorial #20 - Reusable Style Resources
11:11
Kampa Plays
Рет қаралды 17 М.
Popup / Modal - WPF UI COMPONENT WORKSHOP
16:21
SingletonSean
Рет қаралды 16 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
WPF in C# with MVVM using Caliburn Micro
1:23:30
IAmTimCorey
Рет қаралды 367 М.
ItemsControl (the "for loop" of XAML) - WPF TUTORIALS
10:04
SingletonSean
Рет қаралды 11 М.
WPF C# MVVM Sample Application
13:16
MpCodes
Рет қаралды 20 М.
C# WPF Tutorial #18 - Custom Application Window and Title Bar
8:28
Sidebar Navigation In WPF
24:19
Tactic Devs
Рет қаралды 44 М.
C# WPF and GUI - Pages and Navigation
7:48
Ilford Grammar School
Рет қаралды 285 М.
C# WPF Tutorial #21 - Styles and ControlTemplates
12:53
Kampa Plays
Рет қаралды 22 М.
How To Create Custom Controls in WPF
28:03
Tactic Devs
Рет қаралды 40 М.
The Basics of Data Binding in WPF
20:53
Tactic Devs
Рет қаралды 49 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН