awesome done bro!!! you skipped all the boring parts without losing the focus and explained everything clear and straight forward. easy to follow and learn whats going on. very good video editing skills and c# skills. cheers from bavaria
@@PoggersFloppa ask chatgpt😜 i would say, there is a lot of ways to to that, but im not a programmer. i'm struggling with the reachability of variables with bindings and all that stuff.. if you want to include a whole page to your project, just add a new element with right click on the projectfolder in VS and than you have to adjust the namespace and maby something more...that part can be tricky but it shoudln't... anyway thats all i can "help" ya.. cheers from bavaria✌
@@PoggersFloppa no worries bra✌️ try it with chatgpt.. just copy everything and put it in.. sometimes it takes a few times but i got a full ui with 9 pages modbus tcp to sps with webcam interface... i almost got it as a MVVM but i mixed binding with set velues and to get all that in seperate files messes up my code and i can't handle all the problems than😂😭 its a powerfull tool but as i said..easy stuff can be very hard...✌️
your content is one of the best out there!! thank you so much. When you get some sort of members/support to your channel i'll be definily a part of it!
Your explanation is easy to follow and the link to source code helps to code along, which keeps users interested till the end. Fantastic Instructor. Can you also make a tutorial for entire WPF app with enterprise level features which can start/stop services of remote server as well show service state continuosuly like a monitoring app. Looking forward for EF type of architecture
Hi, thanks for this tutorial! If I would like to set a text block instead of an icon for the NavButton, how should the dependency property look like? And what would the type be?
Hey first of all thanks for this great tutorial! 1 question left, how can I set a default screen. When I now open the app there is just the black screen with the beautiful sidebar. But can I let it show for example by default pageX? You helped me a lot with this tutorial. I am totally new to C# and made a sort of sidebar, but just with buttons and opening new pages every time. Now my logics are the same but a 1000 times easier to navigate between the pages.
To set a default page you can sit the content of the frame to specific page this code can be placed in the MainWindow this means with application start up and the layout is initiated it will also add the page to the frame
Hi! Great tutorial! One thing - Source Code link appears to be gone. Is there any way to get to it? I'm wondering where you got the data for the icons - the geometry? thanks!
I am trying to get the NavButtons to be displayed horizontally as a top bar instead of vertically on the left as a sidebar. Can someone tell me how to edit that, no sure where to type horizontal orientation?
can you explain me how you define or find the geometric syntax of example windows logo?? Can i chose a custom icon without a geometric syntax example like an path link?? THX dude..
You can use font icons That means you wouldn’t have to define the geometric syntax, concerning the windows logo it contains multiple colors so if you’re trying to achieve multiple colors it’s best to use an image instead of a path, however it can still be done but very cumbersome, check out this video on how to use font based icons th-cam.com/video/D9qNqDvZd3Y/w-d-xo.html
I am new to WPF so apologies. I am currently trying to change the colours of the individual geometry icons using the Fill property (Currently they are all grey). I have tried implementing my own dependency property for this but I cannot figure out how to have different coloured geometry icons in the navigation bar. Any ideas?
Geometry is only used to store information,the actual control that displays the geometry is the Path control, You can create a brush dependency property then bind it to the fill property of the Path, Another thing to note is sometimes the geometry you decide to use may only have a stroke therefore you have to double check
Most of the geometry syntax can be found in SVG files you can download SVG files from icons8 or other websites that provide Vector icons,The best way is to use an icon pack These may contain number of icon You can choose from
Hi, when i try to install materialdesigninxml in the project and add materialdesign resource dictionary in app.xml file => rebuild the project. I did not change any code but navbutton do not present. @@ Can you explain it to me?
So far they are three options, icons, geometry and fonts. Geometry and fonts allow you to have control over the color ,icons because they are mostly images, you have no control over the color
@@joel_robb You can simply edit the control template to accommodate an image control then create a dependence property of the type imagesource then bind it to the source of the image
Unfortunately WPF does not support rendering of SVG ,however you can convert an SVG to a path the only thing is that you would only have to choose one color, You can use an application like inkscape which allows you to get the path information
You can edit the Navbutton’s control template, you can add a textblock or label to the control template ,you also have to create a dependency property to store the name property than bind that property to the textblock or label
@@nguyenvanmanh224 The content property was not used in the control template so it means it won’t show, the control template defines how the control will appear therefore you have to add a textblock to display the name, However text block will not know what to display that’s why you have to create a binding, bind the textbox’s text property to a dependency property defined in the Navbutton can a decide to bind it to an existing property meaning a property that was inherited or you can define another property
awesome done bro!!! you skipped all the boring parts without losing the focus and explained everything clear and straight forward. easy to follow and learn whats going on. very good video editing skills and c# skills. cheers from bavaria
hey do you know how i would add an already existing page to this without the page messing up because of the column definitions?
@@PoggersFloppa ask chatgpt😜 i would say, there is a lot of ways to to that, but im not a programmer. i'm struggling with the reachability of variables with bindings and all that stuff.. if you want to include a whole page to your project, just add a new element with right click on the projectfolder in VS and than you have to adjust the namespace and maby something more...that part can be tricky but it shoudln't... anyway thats all i can "help" ya.. cheers from bavaria✌
@@wildniscamper7276 oh okay, thanks anyway! cheers from down under
@@PoggersFloppa no worries bra✌️ try it with chatgpt.. just copy everything and put it in.. sometimes it takes a few times but i got a full ui with 9 pages modbus tcp to sps with webcam interface... i almost got it as a MVVM but i mixed binding with set velues and to get all that in seperate files messes up my code and i can't handle all the problems than😂😭 its a powerfull tool but as i said..easy stuff can be very hard...✌️
@@wildniscamper7276 aight thanks
Excellent tutorial......really appreciate your effort. thank you.
bro thx a lot, i used to do normal WPF but didnt know anything about wpf application projects and espectially teh UI, so much thx
your content is one of the best out there!! thank you so much. When you get some sort of members/support to your channel i'll be definily a part of it!
one of the most understandable tutorials I've ever seen! thank you :)
Thank you so much. I had moved away from wpf due to small things I missed in their docs but now is all well answered.
You are A gem to me. Everything in your playlist is A golden Egg. Thanks very much.
Your explanation is easy to follow and the link to source code helps to code along, which keeps users interested till the end. Fantastic Instructor. Can you also make a tutorial for entire WPF app with enterprise level features which can start/stop services of remote server as well show service state continuosuly like a monitoring app. Looking forward for EF type of architecture
Sure thing no problem
thank you a lot for all your videos, I learned a lot from you!
Gracias Mister Tactis.... saludos de los andes peruanos... a pesar que no tiene subtítulos se entiende....
eso es genial de escuchar, los subtítulos estarán disponibles automáticamente después de unas horas
Thank you, this tutorial was very helpful to me.👍
Clearly well explained.
Hi, thanks for this tutorial! If I would like to set a text block instead of an icon for the NavButton, how should the dependency property look like? And what would the type be?
The dependency property in that case would be a string
@@TacticDevs Thank you for your answer, but I cant see the text when I replace the dependency :(
Thank you man! It's the amazing tutorial!
Hey first of all thanks for this great tutorial! 1 question left, how can I set a default screen. When I now open the app there is just the black screen with the beautiful sidebar. But can I let it show for example by default pageX?
You helped me a lot with this tutorial. I am totally new to C# and made a sort of sidebar, but just with buttons and opening new pages every time. Now my logics are the same but a 1000 times easier to navigate between the pages.
To set a default page you can sit the content of the frame to specific page this code can be placed in the MainWindow this means with application start up and the layout is initiated it will also add the page to the frame
@@TacticDevs Thank you, I got it working now!
The explanation 10/10
Awesome tutorial, thanks!
Great job! Now the same, but MVVM please :-)
Hi! Great tutorial! One thing - Source Code link appears to be gone. Is there any way to get to it? I'm wondering where you got the data for the icons - the geometry? thanks!
Hi again! Can you help me, how to set kinda "start Page" for sidebar?
can you help in holding the data in pages while navigating
I am trying to get the NavButtons to be displayed horizontally as a top bar instead of vertically on the left as a sidebar. Can someone tell me how to edit that, no sure where to type horizontal orientation?
Hello, genuinely nice tutorial, but I would like to add my own icons. How do I get geometry data from my logo or photo?
you can use inkscape, with inkscape you can trace a photo and extract the geometry data you also do the same svg files
can you explain me how you define or find the geometric syntax of example windows logo?? Can i chose a custom icon without a geometric syntax example like an path link?? THX dude..
You can use font icons That means you wouldn’t have to define the geometric syntax, concerning the windows logo it contains multiple colors so if you’re trying to achieve multiple colors it’s best to use an image instead of a path, however it can still be done but very cumbersome, check out this video on how to use font based icons th-cam.com/video/D9qNqDvZd3Y/w-d-xo.html
hi, where can i fidn Geometry icons library?
My *NavButton* in the _Designer_ was "0" _Height_ but after running was correct
I am new to WPF so apologies. I am currently trying to change the colours of the individual geometry icons using the Fill property (Currently they are all grey). I have tried implementing my own dependency property for this but I cannot figure out how to have different coloured geometry icons in the navigation bar. Any ideas?
Geometry is only used to store information,the actual control that displays the geometry is the Path control, You can create a brush dependency property then bind it to the fill property of the Path, Another thing to note is sometimes the geometry you decide to use may only have a stroke therefore you have to double check
@@TacticDevs Thank you very much, had not come across System.windows.media.brush which solved my issue!
Hello, can you please help, where can I get a geometry syntax?
Most of the geometry syntax can be found in SVG files you can download SVG files from icons8 or other websites that provide Vector icons,The best way is to use an icon pack These may contain number of icon You can choose from
@@TacticDevs tysm! had already solved that problem, but ty anyway, ur video really help me in studying
Can I use text instead of icons? I need help, I don't know how to do it.
Yes you can check out this video on how to use fonts th-cam.com/video/D9qNqDvZd3Y/w-d-xo.html
@@TacticDevs Thanks!
Hi, when i try to install materialdesigninxml in the project and add materialdesign resource dictionary in app.xml file => rebuild the project. I did not change any code but navbutton do not present. @@ Can you explain it to me?
You need to make sure that the navbutton’s style is not deleted or you can place the navbutton’s style in the app.xaml
@@TacticDevshello I have the same problem.
How do you embed it in the app file
nice
anyway to use icons instead of geometry? I can't customise this.
So far they are three options, icons, geometry and fonts. Geometry and fonts allow you to have control over the color ,icons because they are mostly images, you have no control over the color
@@TacticDevs I was able to find geometry in FontAwesome Icons, took some digging :)
@@GarrattCampton nice, worth looking into
@@TacticDevs How can I use icons or images?
@@joel_robb You can simply edit the control template to accommodate an image control then create a dependence property of the type imagesource then bind it to the source of the image
Hello. How to insert my svg in Data in Path?
Unfortunately WPF does not support rendering of SVG ,however you can convert an SVG to a path the only thing is that you would only have to choose one color, You can use an application like inkscape which allows you to get the path information
@@TacticDevs Thank you!
why my trigger doesn't have "IsSelected" property 😢 help me pls
You need to set the target type on the controltemplate to Navbutton And make sure that the Navbutton inherits from the listboxitem class
Source code link is not working anymore.
github.com/TacticDevGit/WPF-Sidebar-Navigation
i also updated the video description
i con is not displaying sir
i want to display name Navbutton, pls
You can edit the Navbutton’s control template, you can add a textblock or label to the control template ,you also have to create a dependency property to store the name property than bind that property to the textblock or label
@@TacticDevs I add Content property but it's not showing.
link this:
@@nguyenvanmanh224 The content property was not used in the control template so it means it won’t show, the control template defines how the control will appear therefore you have to add a textblock to display the name, However text block will not know what to display that’s why you have to create a binding, bind the textbox’s text property to a dependency property defined in the Navbutton can a decide to bind it to an existing property meaning a property that was inherited or you can define another property
@@TacticDevs oh tks, I understand, can you help me write an example showing text in navbutton, pls.
@@nguyenvanmanh224 check out this link for the Example Code shorturl.at/bdjMW