WPF - Navigation Drawer / Sidebar Menu | UI Design | XAML | C# | Project | Tutorial

Поделиться
HTML-код
  • Опубликовано: 9 мар 2020
  • [ Skill Level : Intermediate ]
    Hi, this video demonstrates the use of " DoubleAnimation " of the " Storyboard " element to make the transition of objects / controls between "From" and "To" target values along with a specific time duration for the transition to occur.
    Subscription Link for more WPF videos and updates :
    ruclips.net/user/cdesignproarunmut...
    Download the Complete Source Code from Github Repository.
    Link : github.com/CSharpDesignPro/Na...
    Channel Link: / cdesignpro_arunmutharasu
    Navigation Drawer Code starts at 5:16
    Tools Used :
    Microsoft Visual Studio Community Edition 2019
    Icon Credits :
    Link : icons8.com/icons
    Background Music Credits:
    Far Away by Declan DP / declandp
    Licensing Agreement: www.declandp.info/music-licensing
    Free Download / Stream: bit.ly/2NhWC1F
    Music promoted by Audio Library • Far Away - Declan DP (...
    Thank you!
    Have a great day!
    For Business Inquiries : arun.enterprises.co@gmail.com

Комментарии • 97

  • @ELIOABREUC
    @ELIOABREUC 4 года назад +15

    Excellent tutorial. It is very instructive and reveals a methodology rarely seen in other videos. Thank you

    • @CSharpDesignPro
      @CSharpDesignPro  4 года назад

      +ELIO ABREU - Hi, Thank you for the appreciation! I'm glad the tutorial was informative. Thanks for watching:)

  • @jorgeedson232
    @jorgeedson232 Год назад +3

    It's amazing how I'm able to increase my understanding of building XAML designs for WPF with these videos. Thank you very much

    • @CSharpDesignPro
      @CSharpDesignPro  Год назад

      @Jorge Edson - I'm glad it was helpful. Thank you!

  • @GoogleAccount-oh7mm
    @GoogleAccount-oh7mm 4 года назад +5

    This is another beautiful design like some others of this channel.
    Impressive presentation and clean code to be understandable.
    Thanks for the source code too.

    • @CSharpDesignPro
      @CSharpDesignPro  4 года назад +1

      +de Spirit - Thanks for the appreciation, and glad I could help!

  • @markc4661
    @markc4661 2 года назад +2

    Thank you so much for this tutorial. I'm a beginner to WPF and this has taught me so many concepts I can build upon going forward.

  • @surfsoul8660
    @surfsoul8660 3 года назад +1

    Amazing tutorial

  • @shakrazj
    @shakrazj 2 года назад +2

    This is just perfect. Straight to the point, and beautifully designed.
    Might seem like a peripheral point to make, but the music was spot on, too!

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад +1

      @Ole Martin Gulbrandsen - I appreciate you for taking the time to watch and comment. Thanks!!

  • @danielcordoba1047
    @danielcordoba1047 3 года назад +1

    sos un genio, muy bueno tu video.

  • @Ichinichi
    @Ichinichi 3 года назад +1

    Perfect!

  • @BudiSantoso-er6cq
    @BudiSantoso-er6cq 3 года назад +2

    Great Tutorial.. thanks bro..

    • @CSharpDesignPro
      @CSharpDesignPro  3 года назад

      @Budi Santoso - You're welcome! Thanks for watching :)

  • @yuusource831
    @yuusource831 3 года назад +1

    YOU are amazing!! I subscribed.

  • @TuanNguyen-pd5yo
    @TuanNguyen-pd5yo 3 года назад +1

    Excellent tut. thank u very much!

    • @CSharpDesignPro
      @CSharpDesignPro  3 года назад

      @Tuan X-i-K-e - You're welcome! Glad the tutorial was helpful. Thanks for watching:)

  • @nightprankster8337
    @nightprankster8337 2 года назад +1

    Thanks man, you help me on everything

  • @ahamedmanasir1976
    @ahamedmanasir1976 3 года назад +1

    Amazing design

  • @Talking2Wall
    @Talking2Wall 4 года назад +1

    Awesome!

    • @CSharpDesignPro
      @CSharpDesignPro  4 года назад

      +Talking2Wall - Hi, I'm glad. Thanks for the appreciation:)

  • @samshteinman2132
    @samshteinman2132 3 года назад +1

    Awesome!!

  • @josbexerr5166
    @josbexerr5166 4 года назад +1

    gracias, muy recomendable

  • @kumirennaidoo8225
    @kumirennaidoo8225 2 года назад +2

    Awesome vid. Helped a lot. How would I be able to put a frame instead of the background image there so I can open different pages in it?

  • @user-sd4hd1jp2r
    @user-sd4hd1jp2r 2 года назад +1

    verry good

  • @hardiksarin7645
    @hardiksarin7645 3 года назад +2

    Simply Amazing! I am shifting from Javafx and have barely any idea about xaml, i followed your video and got the results, but how do i get better at this, this was intimidating, how can i master this? Understanding the basic components and UI Building Methodology

    • @CSharpDesignPro
      @CSharpDesignPro  3 года назад +1

      +hardy sarin - Thank you! For a beginner, I would recommend "WPF Unleashed by Adam Nathan " or "Learn WPF MVVM by Arnaud Weil " and also the MSDN documentation to further assist you if you're looking to code a specific functionality. Mastery is just a matter of time! I hope this helps. Thanks for watching:)

  • @facundosierra1501
    @facundosierra1501 3 года назад +1

    cool

  • @jamiemyers4696
    @jamiemyers4696 8 месяцев назад +1

    Hi, im aware this video was uploaded years ago however i tried coding along but using my own colours ,logos ect. The tooltips work fine and the UI looks great however the navigation bar doesnt slide out. At what point in the video is the code / xaml for this to happen written as i cannot figure it out ?
    Great video tho

    • @jamiemyers4696
      @jamiemyers4696 8 месяцев назад +1

      Nevermind dont worry, accidentally named the storyboaord.Targetname st_pnl instead of nav_pnl. Thanks for the video it was a real help

    • @CSharpDesignPro
      @CSharpDesignPro  8 месяцев назад

      @jamiemyers4696 - No problem at all!. I'm glad the issue was resolved. Thanks for the appreciation!

  • @masteroogway4701
    @masteroogway4701 4 года назад +1

    Impressive.

  • @msgracebk2978
    @msgracebk2978 3 года назад +2

    Thanks for the Tutorial... It’s awesome and very helpful but I can't follow the whole Bit with the
    , How does someone Open that feature ?

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад +1

      Hi Msgraceb, A Resource is an object that can be reused in your app. You simply need to define the resources.
      For Example:

  • @mr.mythoclast4451
    @mr.mythoclast4451 2 года назад +1

    thank you very much !

  • @fjallmann
    @fjallmann 3 года назад +2

    How does one add pages to this? Love the meticulous design work.

  • @Raya.T
    @Raya.T 4 года назад +1

    Hi there i was following your video to learn more about designing a sidebar like this however i have a question. if i want a program to be able to resize but keep the buttons visible and not stretch how would you know how i could accomplish this?

    • @CSharpDesignPro
      @CSharpDesignPro  4 года назад +1

      +Sunhallow - Hi, A button with a fixed height and width would not resize unless it is placed in a parent/control container (StackPanel, Canvas, DockPanel, WrapPanel, Grid) to be able to stretch itself as the window/program attempts to resize. Try to use the alignment(vertical, horizontal) properties or setting the margins (left,top,right,bottom) to position the button at a relative/specific location on the window. I hope this helps. Thanks for watching:)

  • @aidanzipzap
    @aidanzipzap 2 года назад +1

    you know im a beginner but i may be copying but at least im learning what this stuff is doing as im watching so thank you

  • @kevinnyakundi1098
    @kevinnyakundi1098 4 года назад +2

    Very good tutorial...could you kindly build on this one and explain how to switch between the content on the right once a menu item is clicked

    • @CSharpDesignPro
      @CSharpDesignPro  4 года назад

      +kevin nyakundi - Thanks for the appreciation :) Handle the "SelectionChanged" event of the ListView or the "PreviewMouseLeftButtonDown" of the ListViewItem to switch between contents. I hope that helps.

    • @IERG-ke6pb
      @IERG-ke6pb 3 года назад

      @@CSharpDesignPro Hello, i am building my school project based on your UI design template, love this tutorial very much, but could you explain how to determine which tab from nagivation panel user have selected if implement using "SelectionChanged" event of ListView rather than ListViewItem?
      Thanks!

  •  2 года назад +1

    nice Bro

  • @annamierzejewska2438
    @annamierzejewska2438 3 года назад +1

    Very Nice Tutorial. But i have a question. If i want a Submenu, how i can do it?
    For Example: Maps is the Menu point and i want to have under Maps Submenu Point with Adress. So if i click on Maps than the Submenu Point is coming.

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад

      Hi Anna, The Hamburger Menu with Sub Menu Video Tutorial might be helpful.
      Link : ruclips.net/video/YkZq3u9gmRc/видео.html

  • @karis7539
    @karis7539 2 года назад +2

    Very well made one. Wish it could react on button click tho

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад +1

      @AzeRTy Block - Hi, Thanks for the appreciation:) Unfortunately, this code setup was limited to sidemenu animation. You can handle the ListView SelectedItem / SelectionChanged events but, that would probably end up with redesigning the entire project. You can check my recent video "WPF - MVVM Based Modern Dashboard" on this channel. The code management gets easier with MVVM architecture / pattern. I hope that's helpful.

  • @theway5258
    @theway5258 3 года назад +1

    many thanx

    • @CSharpDesignPro
      @CSharpDesignPro  3 года назад

      @The Way - You're welcome! Thanks for watching:)

  • @a.k.masaduzzaman7654
    @a.k.masaduzzaman7654 4 года назад +1

    Hi, thanks for the nice tutorial/ I want to add more menu like MS Word has/ How can I do that please?

    • @CSharpDesignPro
      @CSharpDesignPro  4 года назад

      +A.K.M ASADUZZAMAN - Hi, Thanks for the appreciation! I'll try to make a tutorial on MS Word Menu in one of my upcoming videos. Don't miss the notifications. Thanks for watching:)

    • @a.k.masaduzzaman7654
      @a.k.masaduzzaman7654 4 года назад

      @@CSharpDesignPro - Hi, thanks for the response. How can I make like the given example of (responsive Dashboard) URL in WPF?
      ruclips.net/video/y1jftnTaTXU/видео.html

    • @CSharpDesignPro
      @CSharpDesignPro  4 года назад +2

      +A.K.M ASADUZZAMAN - You can replace the ToggleButton.Checked / Unchecked RoutedEvent (XAML) with HyperLink(dot)Click event (Open & Close Hyperlink).
      // XAML
      Open Dashboard Panel

  • @deepakmane387
    @deepakmane387 Год назад +1

    Nice Tutorial. Cannot find all images in github project. Is there a spearate folder for all the assets used in this application

    • @CSharpDesignPro
      @CSharpDesignPro  Год назад

      @DEE MAN - Glad the tutorial was helpful. You can find all the images in the Assets folder.

  • @penggao6905
    @penggao6905 2 года назад +1

    Thanks for your video! When I cloned the source code from git to my local PC, how to open it?

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад

      @PENG GAO - Hi, You can find a compressed file "Navigation Drawer App.rar" included in the repository. Extract the file and try to open it in VS.

    • @penggao6905
      @penggao6905 2 года назад

      @@CSharpDesignPro Thank you for your reply, i am really appreciate!

  • @HuaJarry
    @HuaJarry 3 года назад +1

    thanks very much.

    • @CSharpDesignPro
      @CSharpDesignPro  3 года назад

      @Hua Jarry - You're welcome. Thanks!

    • @HuaJarry
      @HuaJarry 3 года назад

      @@CSharpDesignPro when I tried that toggle button, and failed processing the border. can you help me?

    • @CSharpDesignPro
      @CSharpDesignPro  3 года назад

      @Hua Jarry - Hi, I'm currently on my schedule to upload the next video. You can post the error message in the comment box. I'll try to find the time and resolve the issue if possible.

  • @jafarrezazadeh846
    @jafarrezazadeh846 3 года назад +2

    hello how you transfer the line to a comment, which short key you using :]

    • @CSharpDesignPro
      @CSharpDesignPro  3 года назад +2

      @fire dark7981
      1. Select the line(s) to comment.
      2. COMMENT - [ CTRL + K ] , [ CTRL + C ]
      3. UNCOMMENT - [ CTRL + K ] , [ CTRL + U ]

  • @tataelm
    @tataelm 3 года назад +1

    is this a plugin you are using to colorize your XAML code?

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад +1

      Not a plugin. To change the settings in Visual Studio 2019 IDE, Go to Tools > Options > Environment > Fonts and Colors.

  • @fadysuis9382
    @fadysuis9382 3 года назад +4

    when does the bar animation end?

    • @CSharpDesignPro
      @CSharpDesignPro  3 года назад +1

      @fady Suis
      The grid (nav_pnl) is set to a specific width of "65" at its default (collapsed) state.
      The DoubleAnimation expands the width of the grid from "65" to "230" and vice versa.
      So, the bar animation will end at the default start (from) width of "65".
      I hope this helps!

  • @felixkabethi9753
    @felixkabethi9753 3 года назад +1

    Hello! Great Tutorial. Can I get the Folder for the assets?

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад

      Yes, sure. Icons Folder Link : github.com/CSharpDesignPro/Navigation-Drawer-Sidebar-Menu-in-WPF/tree/master/Icons

  • @pchelaudio2936
    @pchelaudio2936 3 года назад +1

    Hey! Tell me where
    can I take a color scheme like yours?

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад +1

      Hi, To change the settings in Visual Studio 2019 IDE, Go to Tools > Options > Environment > Fonts and Colors. The current color scheme is based on Monokai theme / colors.

  • @kasrahosseini7380
    @kasrahosseini7380 3 года назад +1

    hello this is very nice design . can I use this ui for my app? with your lisance.

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад

      Yes, of course. You can use it in your application.

  • @petrucervac8767
    @petrucervac8767 3 года назад +1

    The project on GitHub doesn't contain images :(

    • @CSharpDesignPro
      @CSharpDesignPro  3 года назад

      @Petru Cervac - Navigate to the "Assets" folder in the .rar file. I hope the images are available in this folder.

    • @madaniahlem9501
      @madaniahlem9501 3 года назад

      @@CSharpDesignPro I can't find them as well along with "tts" file :(

    • @CSharpDesignPro
      @CSharpDesignPro  2 года назад

      Icons Folder Link : github.com/CSharpDesignPro/Navigation-Drawer-Sidebar-Menu-in-WPF/tree/master/Icons

  • @iviacalena2805
    @iviacalena2805 Год назад +2

    What is the shortcut used in the video to generate this comment-like stuff? XD