C# WPF UI Tutorials: 09 - User Controls Side Menu Content

preview_player
Показать описание
Part of a series of tutorials on creating WPF applications in C#

Create the start of a Side Menu using a User Control with custom content

Рекомендации по теме
Комментарии
Автор

Dear i have download your application but i can't run using VS 2017
Error occur:
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'DpiScale' could not be found (are you missing a using directive or an assembly reference?) Fasetto.Word 75 Active

tuahaca
Автор

I must admit that your visual studio tutorials are so far the best i have ever had.

amaningdankwa
Автор

Stumbled across this video by accident. Top notch and instant subscribe! This is one of the best WPF tutorials I've seen on the web. I'm assuming now that the first 8 are the other ones!

sloankelly
Автор

You're doing a really good thing! Thank you so much for these tuts! :) Very helpful

JohnDoe-fvcu
Автор

Always loved your Videos, as always this one was awesome too, finally found someone who is actually making me understand these concepts, so thank Again :)

amolankit
Автор

Subbed my friend! This is extremely awesome! First tuts I actually understand.... cheers!

TonyDiaz.
Автор

Best tutorials as always, love them, !!

subbed

iplaybose
Автор

What a great playlist thank you very much ❤

alimustafa-rzvk
Автор

I've watched a bunch of your videos, they are great, thank you!. Here's what I can't figure out though, how would you switch between pages using a RelayCommand (say button is clicked)??

jesseandcandace
Автор

Great job man! Really!
I haven't found any better video tutorial than these in any other language (and I've seen many).
Keep doing this! ;)

Side note: don't know if you considered this yet, but it would be great if in future tutorials you'd show how to "re-use" Models and ViewModels on other platforms (thanks to the MVVM pattern) and use it to create mobile app or web app, as you indicated in one of your first videos.

LzzA
Автор

For those guys, expect the font awesome icon in design time but only squares. Don't know the exactly reason, I simply change the font path to [ <FontFamily in Fonts.xaml. Problem solved.

guchangchu
Автор

on 8:15, how did you measure the pixels? what did you use to do it? thanks <3

elyasaf
Автор

I am using the "Latest code" and when executing, the program stops with error in the file: App.xaml.cs line where: await ApplicationSetupAsync(); is located
ERROR:
System.AggregateException: 'An error occurred while writing to logger(s).'

Inner Exception
IOException: The process cannot access the file because it is being used by another process.

It compiles without error. The error appears in runtime. Any idea or recommendation? I am using VS19.

angeloabdielmunoz
Автор

Hello Angel,

There is an issue in the WindowResizer, because if I'm using it I'm able to resize the window smaller than the Min Height/Width. I tried to find the solution inside your resizer class, but I can't really understand at all where I can pass the minimum values.

Can you help with the solution ?

wieldable
Автор

Thank you great explanations and clear to the point.

christopherbaldwin
Автор

Thanks for sharing, what tool you are using to screenshot it?

HariHaran-zrbg
Автор

Hi Luke,
I sent you one email about user control dependency property. But mail turned. How can we use dependency property in a user control? when I put user control to the main window. with size I want to see dependency property value at the same time?

mehmetturan
Автор

What is the benefit of using a user control instead of just making it in the window?

jojoduke
Автор

Hello sir, how to set drag and drop user controls ( i want to set waiting order names of the customer and which can be adjust by drag and drop function)

tobbymarchal
Автор

There is an issue in the WindowResizer (not sure when that slipped in. Itwas working at the beginning of the course).
When you dock left or right the window does not get resized, so the outer margin and drop shadow remain.

In the Window_SizeChanged event handler the first 2 lines that check if mTransformToDevice == default(Matrix) never return false, so the rest of the code never runs (at least I didn't manage to). Removing that check seems to get the wanted result. But I am sure that there is a reason why you put it there.

The reason for that, in my opinion, is in the GetTransform method.
The following line always returns the same values as default(Matrix), so the later comparison in the event handler always is true.
mTransformToDevice =

As my skills are too limited, I can't find the solution for this myself. Any takers?

For docking in general I have to say that we are missing the quarter positions that were introduced with Windows 10 (I think).
So I think we need to add docking positions for UpperLeft, UpperRight, LowerRight and LowerLeft, just in case. I haven't tried, but I believe I can figure that out.

TheGuyof
visit shbcf.ru