![ToskersCorner](/img/default-banner.jpg)
- 69
- 1 191 932
ToskersCorner
United States
Приєднався 19 сер 2016
ToskersCorner is a channel dedicated to beginners in C# and WPF. As a current college student, I do not qualify myself as a "professional" by any means. At the same time, I feel my content approaches beginners in a different way. Instead of just showing you what to do and vaguely saying why, my intentions are to provide emphasis in explaining the content to viewers in a perspective that would have made my past learning experiences easier. By making my video content in a modular way, I help beginners avoid the frustration of sitting/skipping through an hour long video when they only clicked it in the first place for the 10% of content it has within it. I then do a series which combines past videos in to a larger application do see all the pieces working together.
WPF Dependency Injecting W/ Ninject
In this video we cover dependency injection in WPF, as well as utilizing Ninject to setup dependencies in a Mvvm friendly fashion. In the beginning we first get an understanding of what it going on, and then I provide alternative ways we may wish to implement these features in a WPF application.
Article on DI and IoC - blog.agilistic.nl/a-step-by-step-guide-to-using-ninject-for-dependancy-injection-in-c-sharp/
Ninject GitHub & Documentation - github.com/ninject/Ninject
Project in Video - github.com/Tosker/WpfNinjectProject
RelayCommand - ua-cam.com/video/HDSRG7GvPbo/v-deo.html
ObservableObject - ua-cam.com/video/LEKngPq342s/v-deo.html
** Tip Jar **
Paypal: toskerscorner@outlook.com
BTC: 3DkvwvcQ8Vt2U84jdtEhNBx2Ueai3Xttmu
ETH: 0xFf79A145e1ED6F538607Ec374968e605cbea758b
BCH: qqpgrnzuhc5hav4e79m8nfhmugs46jtl0ujxcu0tj5
LTC: MHXQmJA3hkwTPeArB9QPNkcLiHQx723yMb
Article on DI and IoC - blog.agilistic.nl/a-step-by-step-guide-to-using-ninject-for-dependancy-injection-in-c-sharp/
Ninject GitHub & Documentation - github.com/ninject/Ninject
Project in Video - github.com/Tosker/WpfNinjectProject
RelayCommand - ua-cam.com/video/HDSRG7GvPbo/v-deo.html
ObservableObject - ua-cam.com/video/LEKngPq342s/v-deo.html
** Tip Jar **
Paypal: toskerscorner@outlook.com
BTC: 3DkvwvcQ8Vt2U84jdtEhNBx2Ueai3Xttmu
ETH: 0xFf79A145e1ED6F538607Ec374968e605cbea758b
BCH: qqpgrnzuhc5hav4e79m8nfhmugs46jtl0ujxcu0tj5
LTC: MHXQmJA3hkwTPeArB9QPNkcLiHQx723yMb
Переглядів: 13 802
Відео
SimpleWPF - WPF Library, Navigation, templating, commanding.
Переглядів 4,9 тис.6 років тому
In this video I cover a small WPF library I made. This library is useful for setting up data templates, and utilizing basic features and implementations in WPF applications. Source code: github.com/Joben28/SimpleWPF Video on project templates: ua-cam.com/video/UNYC53m3Lw8/v-deo.html Tip Jar Paypal: toskerscorner@outlook.com BTC: 3DkvwvcQ8Vt2U84jdtEhNBx2Ueai3Xttmu ETH: 0xFf79A145e1ED6F538607Ec37...
WPF Custom Dialogs - Part 2 [Dialog Controls]
Переглядів 11 тис.6 років тому
In this video we already have completed our dialog service objects. Now want to build upon our implementations to create some simple dialogs in this case an Alert dialog and YesNo dialog. App.xaml - pastebin.com/NKEhT7AY MainWindowVM - pastebin.com/HWVSHtLQ YesNoVM- pastebin.com/dLASkUz7 YesNoView - pastebin.com/wVa6wHmQ AlertVM - pastebin.com/UryMRZdS AlertView - pastebin.com/Hfmpfdce Complete...
WPF Custom Dialogs - Part 1 [Dialog Service]
Переглядів 24 тис.6 років тому
In this video we will cover creating an MVVM friendly dialog service for our WPF application. There many more things we may want to do for specific application, and specific goals, so this video covers a general concept of tackling a dialog service in WPF. Since I don't often to dialogs in WPF (I normally just use the ugly windows dialogs) I did some searching on the internet to influence the d...
WPF Data Validation - Exception, IDataErrorInfo, ValidationRule, & Annotations
Переглядів 40 тис.6 років тому
In this video we cover creating dat validation in multiples of ways. 1) By throwing an exception, 2) By using the IDataErrorInfo interface, 3)By using custom ValidationRule base class, and 4) By using the System.ComponentModel.Annotations. I was going to break this video in to multiple parts, but decided to keep it as one video. I advise taking a break half way through if you have a short atten...
WPF Data Triggers W/ Data Templates
Переглядів 8 тис.6 років тому
In this video we cover how to use data template triggers in your application. This allows you to conditionally set specific property values when given a certain bound value. This is very similiar to the usage of IValueConverters, and in some circumstances could possibly be prefferential. IValueConverters - ua-cam.com/video/CnfwBoylaE4/v-deo.html DataTemplates (I cover them here, but it's not a ...
WPF Contact Book FINISH - [JsonDataService & Bugfix]
Переглядів 3,7 тис.6 років тому
In this video we are FINISHING our series with the implementation of our JsonContactDataService. We also fix a slight issue in our ContactsVieWModel. JsonContactDataService - pastebin.com/Nz6ME9Ua ContactsViewModel - pastebin.com/3uAC6Sxr Video for ContactBook Source Code - ua-cam.com/video/2Sgfuz4Es1g/v-deo.html Tip Jar Paypal: toskerscorner@outlook.com BTC: 3DkvwvcQ8Vt2U84jdtEhNBx2Ueai3Xttmu ...
WPF Contact Book Part 9 - [Dialog Service & More Commands]
Переглядів 2,6 тис.6 років тому
In this video we create our dialog service, implement a browse image feature to add contact images, and implement further action bindings in our MainWindow. IDialogService - pastebin.com/SwgfcccQ WindowsDialogService- pastebin.com/8ehARW3f AppViewModel - pastebin.com/ZU6E2wgj ContactsViewModel - pastebin.com/KM4cVufc BookViewModel - pastebin.com/eE1VKNpd DetailsView - pastebin.com/8DQ8wzwQ Main...
WPF Contact Book Part 8.1 - [Checkbox Style & Bug Fixes]
Переглядів 4,2 тис.6 років тому
In this video we intend to just make our custome style for our IsFavorite checkbox, but we happen to stumble across a couple bugs to fix. I am not sure if I am committed to the way we fix some problems, but for the sake of time and progress we have a decent temporary solution. ContactsViewModel - pastebin.com/cF4fz2NZ DetailsView - pastebin.com/xTCjew9E (This link also contains the TextBox Styl...
WPF Contact Book - Part 8 [EditMode & Converters]
Переглядів 1,3 тис.6 років тому
In this video we implement an EditMode for our application to modify existing contacts. We also implement converters for hiding and displaying elements within our views. Video on IValueConverters - ua-cam.com/video/Ms1EdRb1kM0/v-deo.html DetailsView - pastebin.com/ferPjbKR MainWindow - pastebin.com/imMeXmgg Converters - pastebin.com/HiC0vrXQ ContactsViewModel - pastebin.com/M9ZayE0u BookView - ...
WPF Contact Book - Part 7 [Details View & Styles]
Переглядів 3,4 тис.6 років тому
In this video we are writing a TON of XAML for our DetailsView and styles for controls within it. Since this video is almost entirely XAML I didn't wan't to skip over much, so feel free to watch at 1.25x or 1.5x speed on UA-cam (I recommend it). DetailsView - pastebin.com/XstF34q0 Styles - pastebin.com/ARS4ZfWr BookView - pastebin.com/manecG7v Tip Jar Paypal: toskerscorner@outlook.com BTC: 3Dkv...
WPF Contact Book - Part 6 [Item UserControl]
Переглядів 6 тис.6 років тому
In this video we setup the data template view for our contact list view, setup our main window bindings, and implement a default bit map image as an application resource. All code and references can be found in the links below. App.xaml - pastebin.com/sVAkMkUj MainWindow - pastebin.com/rTzxTSEZ BookView - pastebin.com/VpZzDPCq ContactItemView - pastebin.com/cG4KuWwS Tip Jar Paypal: toskerscorne...
WPF Contact Book - Part 5 [Data Service]
Переглядів 3,9 тис.6 років тому
In this video we setup our BookView and view model. All code and references can be found in the links below. BookView - pastebin.com/dxmW0ti7 BookViewModel - pastebin.com/4w5QEuwu IContactDataService - pastebin.com/8ftk1fK1 MockDataService - pastebin.com/4pFN4RSX Tip Jar Paypal: toskerscorner@outlook.com BTC: 3DkvwvcQ8Vt2U84jdtEhNBx2Ueai3Xttmu ETH: 0xFf79A145e1ED6F538607Ec374968e605cbea758b BCH...
WPF Contact Book - Part 4 [View Models]
Переглядів 4,3 тис.6 років тому
In this video we cover creating our view models, data interface, and implementing a mock data service. All code and references can be found in the links below. BookViewModel - pastebin.com/f74snVdp Contact Model - pastebin.com/PzP6DCz5 ContactsViewModel - pastebin.com/BjUeQHem Tip Jar Paypal: toskerscorner@outlook.com BTC: 3DkvwvcQ8Vt2U84jdtEhNBx2Ueai3Xttmu ETH: 0xFf79A145e1ED6F538607Ec374968e6...
WPF Contact Book - Part 3 [AppViewModel & Utilities]
Переглядів 6 тис.6 років тому
In this video we cover creating our Data Templates, designing our AppViewModel, and designing our MainWindow content. All code and references should be found in the links below. Video on ObservableObject - ua-cam.com/video/LEKngPq342s/v-deo.html Video on RelayCommand - ua-cam.com/video/8WfD2cFRymM/v-deo.html App.xaml - pastebin.com/KhU4KGar MainWindow - pastebin.com/Etx0cUA6 AppViewModel - past...
WPF Contact Book - Part 1 [Getting Started]
Переглядів 10 тис.6 років тому
WPF Contact Book - Part 1 [Getting Started]
WPF Contact Book - Part 2 [Main Window & Styles]
Переглядів 6 тис.6 років тому
WPF Contact Book - Part 2 [Main Window & Styles]
WPF Chat Client + Server Source Code
Переглядів 10 тис.6 років тому
WPF Chat Client Server Source Code
WPF Custom User Control + Dependency Properties
Переглядів 57 тис.6 років тому
WPF Custom User Control Dependency Properties
Create a Project Template In Visual Studio
Переглядів 29 тис.6 років тому
Create a Project Template In Visual Studio
XAML WPF - Styles Part 3, Resource Dictionaries
Переглядів 24 тис.6 років тому
XAML WPF - Styles Part 3, Resource Dictionaries
XAML WPF - Watermark/Placeholder Textbox Part 2
Переглядів 12 тис.7 років тому
XAML WPF - Watermark/Placeholder Textbox Part 2
XAML WPF - Watermark/Placeholder Textbox Part 1
Переглядів 22 тис.7 років тому
XAML WPF - Watermark/Placeholder Textbox Part 1
Creating Barcodes in C# WPF - Part 5 Finish
Переглядів 9207 років тому
Creating Barcodes in C# WPF - Part 5 Finish
Creating Barcodes in C# WPF - Part 4 Word Document
Переглядів 1,3 тис.7 років тому
Creating Barcodes in C# WPF - Part 4 Word Document
Creating Barcodes in C# WPF - Part 1 Setup
Переглядів 5 тис.7 років тому
Creating Barcodes in C# WPF - Part 1 Setup
Creating Barcodes in C# WPF - Part 3 Binding & Events
Переглядів 1,4 тис.7 років тому
Creating Barcodes in C# WPF - Part 3 Binding & Events
很棒
7 years later, and this is still hands down the best explanation out there
Can't get the Console.WriteLine to show up in the output screen- any suggestions?
I thought binding was extremely hard, but you managed to explain it properly in just 25 minutes. I'm amazed. Thanksssss a lot!
I tried this but when using the template I get an error that a security issue has occurred.
Nothing understand , please simplyfy this tutorial.
Great job on the video Tosker. Your approach is very intuitive and I learned a lot following your logic. Thanks.
Great video thank you. if you put the following snipped above the <DataTemple> tag, the listview items effect becomes more pronounced: <!-- Stretch the listview items to the width of the listview --> <Style TargetType="ListViewItem"> <Setter Property="HorizontalContentAlignment" Value="Stretch"/> </Style>
Did a great job on the video. It's still very applicable today. Thank you for taking the time.
Really good video, it helps a lot, thank you.
I hope u come back soon. Ur content is gold! ❤
Really nice and smooth tutorial
Great tutorial with a very practical example. Great job. Thank you.
Thank you.❤
The ellipse is not a circle, it's the other way around, the CIRCLE is a special case of an ELLIPSE, where the semi-major and semi-minor axis are equal and has eccentricity equal to ZERO.
The audio is terrible on this video, can't hear what you're saying unfortunately.
nice.
So simple This is helpful when you setup a project using clean arc and u have to create all from scratch on
Thank you! You have really such pedagogical ability to explain dsimply things
RelayCommand in tutorial not working at all
After 7 year i found this hidden gem
I found a similar way to do this and was wondering if there are pros or cons to this approach? I am new to wpf / xaml so am not sure. loginWindow.Visibility = Visibility.Visible; toolWindow1.Visibility = Visibility.Collapsed; toolWindow2.Visibility = Visibility.Collapsed;
I wish my teachers explained as good as you. <3
Excellent stuff! Thank you Toskers!👍
Loved it. Perfectly explained!
thanks...much appreciated.
First tutorial I've found that explains any of this in an intuitive way. So many others gloss over the datacontext, code-behind and namespace stuff wayyy too fast
Perfect explanation
Thanks for the great video- you did more in 15 mins than I did in all the reading(hours)
As a relatively new WPF user I've never used dock panels, nice explanation, thank you.
thanks for the course man there arent many videos specially focused on xaml so I really appriciate it ^-^ hope ur doing well
I have been researching WPF with books and videos and your video really uncover the cloak of DataContext- Thanks
Man, I really wish you were creating content with current WPF. Your tutorials are perfect.
Thank you
OKCommand = new RelayCommand<IDialogWindow>(OK); ??? I can not find where you build this.
Your video was great help but it is more creating new views rather than switching between them. I'm part way there anyway :)
Now i need to know how many ComboBoxes you can fit inside a ComboBoxItem 😅
Hi, I tried the same code but the tool buttons are not loading the image when I execute the code, Please help
Genius
thank you so much.
Great tutorials. I can take a lot more from this than reading articles that often just skip setup etc.
пидарас
Enable UI Debugging Tools for XAML does not exist in options!!!!
Awesome! Thanks!
very helpful thank you!! I have a question about this, if i have a button in my red View and i want to change from there so the green view, is there a way to do it? or can i remove the data context from the red view ? Thanks a lot for your nice tutorial!
10:09 I think binding the tooltip directly with the dictionary will throw an exception when there is no error on the property - you only show when there are errors. Ps: There is also another interface for validation INotifyOnDataErrroInfo which I think is also very powerful
How to change the background of the textbox based on the condition? Could you please suggest me.?
Hi, just found this vid... the pastcode is no longer valid. Have you posted this on github?
are you a teacher by trade? by FAR, these are the best tutorials i've seen on any subject on youtube.
very good explanation, thank you