C# WPF Design UI - Dropdown Menu

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Hello Everyone, some people asked me to create a dropdown menu and here it is!
    Buy me a coffee
    www.buymeacoff...
    Github
    github.com/Abe...
    Song: "Sappheiros - Embrace [Chill]" is under a Creative Commons license (CC BY 3.0)
    Music promoted by BreakingCopyright:
    bit.ly/Sappheir...
    "Shahed - Indian Fusion"
    Música promovida pela BreakingCopyright:
    • 🐯 Indian Music (No Cop...
    Song: "Lakey Inspired - Blue Boi [Lofi]" is under a Creative Commons (CC BY-SA 3.0) license.
    Music promoted by BreakingCopyright:
    • [Non Copyrighted Music...
    "Golden by Mona Wonderlick" is under a Attribution 3.0 Unported (CC BY 3.0) license
    Music promoted by BreakingCopyright:
    • 'Golden' by Mona Wonde...
    Song: "Nicolai Hedlas - Hand In Hand [Pop]" is under a Creative Commons license (CC BY 3.0)
    Music promoted by BreakingCopyright:
    bit.ly/NicolaiH...
    Song: "Ehrling - Typhoon"
    / ehrlin. .
    Music promoted by BreakingCopyright:
    • [Non Copyrighted Music...

Komentáře • 111

  • @HainnTheBurmese
    @HainnTheBurmese Před 2 lety +2

    I just start learn WPF in my own way. Your tutorial is so professional. Thank you, Sir.

  • @ahmedhafez1873
    @ahmedhafez1873 Před 5 lety +5

    Go on man, we had learnt a lot from your videos,
    thanks so much

  • @Moaaz-SWE
    @Moaaz-SWE Před 4 lety

    I think this is the most beautiful & creative idea of your videos i'v seen...
    because here you think OOP to create a beautiful smooth & unique design
    thanks very much💔

  • @mr.vlalin1604
    @mr.vlalin1604 Před 5 lety +3

    The video is just super, keep up the good work))
    And it would not be bad if there was a video with the implementation of the boot screen

  • @rogervieira8190
    @rogervieira8190 Před 4 lety +5

    Thanks for the awesome video! Could you show me how to add a Click event to the SubItem? I cant get it to work...

  • @kabukisyneri296
    @kabukisyneri296 Před 5 lety +24

    Maybe.... trying to speak and explain during your video would be preferable instead of music. Just sayin'...

  • @GalesGames69
    @GalesGames69 Před 2 lety

    it was a pain in the ass to get the navigation to work propperly but thank you, the design is great

  • @albertocelio9683
    @albertocelio9683 Před 4 lety +2

    Como não te amar cara 😢💪❤
    How not to love you dude 😪💪❤
    - Fiquei sem saber se falas inglês ou português 😅🤦‍♂️

    • @AbelDutraUI
      @AbelDutraUI  Před 4 lety

      É nois cara hehe!!
      Acabo fazendo os vídeo em inglês pra atingir mais pessoas, mas sou BR hehe

  • @marshgarrett
    @marshgarrett Před 4 lety +2

    How do we link UserControl page to each item\SubItem. Can you do one example, and update it in GitHub?

  • @fabriciosantos7197
    @fabriciosantos7197 Před 5 lety +1

    Parabéns pelo vídeo, não tem como dar mais que um like kkk

  • @CarlosRoberto-pi8tn
    @CarlosRoberto-pi8tn Před 5 lety +4

    Esse era vídeo que eu tanto queria blz obrigado vc sabe ensinar

    • @AbelDutraUI
      @AbelDutraUI  Před 5 lety

      Opa, obg! Qualquer dúvida ou algum vídeo que vc queira ver pode mandar um comentário ou pedir na página do Facebook que tento fazer :)

    • @CarlosRoberto-pi8tn
      @CarlosRoberto-pi8tn Před 5 lety +1

      @@AbelDutraUI ok meu brother valeu mesmo e vou sempre tá pedindo ajuda a vc tudo bom pra vc sucesso e fique com Deus!

  • @suyogkhachane
    @suyogkhachane Před 2 lety

    How to open different windows from ListView later.?

  • @daliangilbert
    @daliangilbert Před 2 lety

    Everything's good, but it breaks MVVM, why this code behind?

  • @a-software4376
    @a-software4376 Před 4 lety +1

    Thank you bro. How to bind those ItemMenu and SubMenu to a database or xml file.....

  • @Asiergr
    @Asiergr Před 2 lety

    is there anyway to add icons in submenu elements?

  • @andreassummertime
    @andreassummertime Před 5 lety +1

    Thanks for your great work

  • @techsolve9397
    @techsolve9397 Před 4 lety

    Theres a problem when changing from a menu submenu items to another submenu items, if you click customers on menu register then click Fixed on menu Expenses you can't go back to customers again unless you click another Menu register submenu like providers for example and then click customers again. i don't know how to solve this.

  • @azeddinebouraoui9614
    @azeddinebouraoui9614 Před 3 lety +1

    thank you

  • @bonsaimiennam68
    @bonsaimiennam68 Před 2 lety

    I want to open tab when click menu?

  • @mohammedzuhair8443
    @mohammedzuhair8443 Před 4 lety

    These videos are really good for learning.. it would be better if we get such videos in MVVM

  • @bruno80292
    @bruno80292 Před 2 lety

    If anyone is having trouble trying to run the .exe in another computer, you need to also copy the materialdesign dll files, otherwise you'll get an io file not fould exception in event log

  • @mr.a9679
    @mr.a9679 Před 4 lety

    thank you but there is still problem when you select item inside one of expanded menu and then select another item in another expanded menu the preview item still selected how you will unselect them all...?

  • @SonidoScoobyDoo
    @SonidoScoobyDoo Před 11 měsíci

    followed this video, looks amazing, but...how/where can I invoke the click event on menu ? hahaha so dumb question, but im new to this

  • @user-zv6jx6fk8t
    @user-zv6jx6fk8t Před 4 lety

    Thanks a lot! Your videos are great!

  • @mwaqasaz
    @mwaqasaz Před 4 lety

    Love your Work

  • @OmerFarukTanr
    @OmerFarukTanr Před 5 lety +2

    Thanks for video

  • @wafabenyahia1903
    @wafabenyahia1903 Před 4 lety +1

    thanks for the video ,it is really helpful
    i have a question:when i choose one of the sub item i want to show a text box or execute something,where can i add that ,
    thanks

    • @AbelDutraUI
      @AbelDutraUI  Před 4 lety

      Hi, this kind of menu has some bugs... But you can call some UserControl like I did here: czcams.com/video/VNYOKc1PLqA/video.html

  • @victorjohan1250
    @victorjohan1250 Před 4 lety +1

    how to make click event?

  • @mukhiddinkhayrullokh
    @mukhiddinkhayrullokh Před 5 lety +1

    Cool

  • @FrancescoCrescimanno
    @FrancescoCrescimanno Před 2 lety

    Hi Abel, great video... I'm trying to use your Tutorial to create my own dropdown side menu... I just have a simple (I hope it is simple) question... I'm using an MVVM pattern and al have been implemented. So the Menu Itens I will on my main form are visible... The question is: now I have to assign to each MenuItem and SubMenuItems an ICommand... How could be done? Thanks in advance for your help, Francesco

  • @Iamshafathkhan
    @Iamshafathkhan Před 3 lety

    i would need some help to link a form to menu eg. employee menu - frmemp.xaml

  • @GuiltyBears
    @GuiltyBears Před 4 lety +1

    Do you have any videos or suggestions of how to create new windows with a new layout in the blank space after clicking ON a menu item?

    • @AbelDutraUI
      @AbelDutraUI  Před 4 lety

      Hey, I'm sorry about my delay, but I did some videos showing how to do that 😊

  • @user-tn3bw1wg8w
    @user-tn3bw1wg8w Před 5 lety +1

    Спасибо за видео) 👍

  • @HyukLee
    @HyukLee Před 4 lety

    Hi! Thank you for the great video. Just one stupid question - If I want to change the title of the menu item, or side item, how can I do it? I appreciate your help in advance.:)

  • @jikenpandya3652
    @jikenpandya3652 Před 5 lety +2

    Can you tell me how create responsible design in wpf??

    • @AbelDutraUI
      @AbelDutraUI  Před 5 lety

      Please, check this video czcams.com/video/oDEtZ5_kbww/video.html
      and tell me if it is what you need :)

  • @dominiclc5009
    @dominiclc5009 Před 3 lety

    Hey man, nice video, but can you show me how to do it when you click on an ExpanderMenu, the other menu will close?

  • @petrunzeitig9283
    @petrunzeitig9283 Před 5 lety +2

    Can u make video about creating MaterialDesign dialogs please?

  • @user-yo7mw6oj4p
    @user-yo7mw6oj4p Před 5 lety +2

    Спасибо.

  • @48950100
    @48950100 Před 2 lety

    Amigão, parabéns pelo seu trabalho, vc manja muito.
    Você tem algum curso de WPF em português, seja na Udemy ou outra plataforma?
    Essa tecnologia está carente de cursos/tutoriais em português.
    Obrigado!

    • @AbelDutraUI
      @AbelDutraUI  Před 2 lety +1

      Fala Andrei, infelizmente já faz um tempo que parei de trabalhar com WPF, então infelizmente fiquei desatualizado das novidades. :/

  • @MrTravelerX
    @MrTravelerX Před 2 lety

    Hi
    Great video. I tried to use the implementation you presented and add another level of sub menu (e.g. another menu under the Register menu) but failed to do so. Does this code support another level of menus? If yes, do you have an example?

  • @adhavdeepak3266
    @adhavdeepak3266 Před 4 lety

    Thanks, man your video is very helpful to me.
    I want a small help...
    when application open in a children's screen there should be a dashboard open by default.
    can it possible?

  • @milekhin_ilya
    @milekhin_ilya Před 4 lety

    Спасибо , друг!

  • @ericamariane2667
    @ericamariane2667 Před 4 lety

    Hi, Would you be able to show how did you get the Children property for the Menu for --> Menu.Children.Add(new UserControlMenuItem(item6, this));
    When I tried to do it, there is an error CS0117 'Menu' does not contain a definition for 'Children'.
    Thank you!

    • @AbelDutraUI
      @AbelDutraUI  Před 4 lety

      Hey, are you using an StackPanel as Menu?

    • @ericamariane2667
      @ericamariane2667 Před 4 lety +1

      @@AbelDutraUI That's right, I have a different name for the StackPanel. Thank you so much for your help and the video too. It's amazing and super helpful! :)

    • @fahamarahmani7223
      @fahamarahmani7223 Před 3 lety

      I also have this problem please help me I can't solve it

    • @fahamarahmani7223
      @fahamarahmani7223 Před 3 lety

      @@AbelDutraUI where did you use menu

  • @vusiarmstrongmalinga6676
    @vusiarmstrongmalinga6676 Před 3 lety +1

    The music..

  • @user-rx4zk8um1f
    @user-rx4zk8um1f Před 5 lety +1

    Cool! How can I change the color of the textbox stripe from purple to green?

  • @CarlosRoberto-pi8tn
    @CarlosRoberto-pi8tn Před 5 lety +1

    Boa Noite Abel pode nos mostrar como fazer um evento click no sub menu para chamar ima tela por exemplo

    • @AbelDutraUI
      @AbelDutraUI  Před 5 lety

      Olá Carlos, vou ver como posso fazer aqui, estou pensando em fazer algumas streams pra implementar algumas coisas

    • @SonidoScoobyDoo
      @SonidoScoobyDoo Před 11 měsíci

      so, did you ? hahaha cannot raise the click event of menus@@AbelDutraUI

  • @ALiHameedAlHashemi
    @ALiHameedAlHashemi Před 5 lety +1

    ابداع

  • @codingislife6387
    @codingislife6387 Před 5 lety

    Sir I am Working with Winform C#, But Don't Know What is WPF,
    1. kindly Can you Guide me What is Difference BTween WPF and Winform please ,
    2. Which is Most used in Software Houses --
    3. Which should i Focused more

    • @Zainjerr
      @Zainjerr Před 5 lety +2

      the difference between WPF and WinForms is that WPF uses XAML for UI, while in WinForms, C# or Visual Basic itself is used for the UI
      WPF is more flexible, fast and new, where winforms are old and no longer used
      All software houses use WPF these days. and you should focus .NET Core instead of these two

  • @bicentrick9989
    @bicentrick9989 Před 5 lety

    Hi bro i've been watching your videos lately and i've been hading the most fun i ecer zhad while learning WPF..do u have any courses that u can advice me to follow about controls and binding?

  • @attano7514
    @attano7514 Před 5 lety +1

    Acho muito boa suas aulas, mas pra quem esta começando no WPF o que vc recomenda estudar?

    • @AbelDutraUI
      @AbelDutraUI  Před 5 lety +1

      Olha, tem alguns canais aqui no CZcams que ensinam desde o começo como o do IAmTimCorey e o AngelSix

    • @attano7514
      @attano7514 Před 5 lety +1

      ​@@AbelDutraUI Obrigado pelas recomendações

  • @Unknown-868
    @Unknown-868 Před 5 lety

    Teria como evitar essa grande quantidade de code-behind? Aliás, passar elementos de visualização para a ViewModel não viola o MVVM?

    • @fabiandenk8926
      @fabiandenk8926 Před 5 lety

      I don't think so because you strictly seperate code, which referes to logic and view.. :-)

  • @neka4x4
    @neka4x4 Před 4 lety

    cara como a gente faz para pegar o evento click nesse menu

  • @spontonluciano1668
    @spontonluciano1668 Před 5 lety

    Você pode mostrar como abrir uma janela quando clicar em um item e subitem por favor?

    • @Unknown-868
      @Unknown-868 Před 5 lety

      usa o evento click do subitem e instancia uma nova janela a partir do método

  • @CarlosRoberto-pi8tn
    @CarlosRoberto-pi8tn Před 5 lety

    Boa noite Abel agora queria que vc mostrasse a nós como fazer para os UserControl apareça dentro do stackpanel como TabItem com como se fosse um TabControl e fosse aparecendo várias abas com CloseTabItem ok

    • @AbelDutraUI
      @AbelDutraUI  Před 5 lety

      da uma olhada se esse componente te ajuda: czcams.com/video/XcXjIqjB108/video.html

    • @CarlosRoberto-pi8tn
      @CarlosRoberto-pi8tn Před 5 lety

      @@AbelDutraUI queria como esse aqui:czcams.com/video/tbEQMRr3smo/video.html se vc puder nos ajudar ficariamos acredecidos ok, tenho a logica de como foi feito esse ai mais não quero com ribon wuro so com wpf mesmo

  • @anaibrahim4361
    @anaibrahim4361 Před 3 lety

    can't we just create it only with Xaml ?!!

  • @diogoguerra9422
    @diogoguerra9422 Před 3 lety

    Eae! Tou com um problema no User Control.. nao consigo que o user control fique bem quando mudo para outro ecra..
    Consegue me ajudar?

    • @AbelDutraUI
      @AbelDutraUI  Před 3 lety

      Qual o problema?

    • @diogoguerra9422
      @diogoguerra9422 Před 3 lety

      @@AbelDutraUI Obrigado pela sua resposta!
      O meu problema está no UserControl, isto é; quando mudo para o ecra do meu portátil, o user control nao fica ajustado ao ecrã

    • @AbelDutraUI
      @AbelDutraUI  Před 3 lety

      Tem algum padding ou margin no seu UserControl?

    • @diogoguerra9422
      @diogoguerra9422 Před 3 lety

      @@AbelDutraUI Não tenho..
      Você ainda tem o seu discord ativo? Talvez fosse mais fácil para explicar

  • @jonatanfelipe9315
    @jonatanfelipe9315 Před 5 lety

    Fala mano, eu sou novato em c# , como eu poderia adicionar um evento onclick em um botão desses? quero colocar um click pra abrir a tela no centro do form no outro canto , ai teria como eu abrir isso em um grid também ?

    • @renanarnoni5802
      @renanarnoni5802 Před 4 lety

      vc teria que criar um evento e um handler no model para lidar com isso e fazer o binding nesse vento, eu achei muito bonito, mas não sei se seria facil de implmentar command ou MVVM nisso

    • @AbelDutraUI
      @AbelDutraUI  Před 4 lety +1

      Esse menu tem um bug, n vale muito a pena implementa-lo realmente fica bem complicado aplicar MVVM, só percebi depois que o vídeo já tava no ar

    • @renanarnoni5802
      @renanarnoni5802 Před 4 lety

      @@AbelDutraUI opa meu amigo, mas isso não é demerito nenhum, ficou de fato muito bonito. É que eu ja to tomando um cacete aqui, mas seu layout me deu muitas ideias, pelo simples fato de expander aceitar um stackpanel e dentro dele buttons, que aceitam commands, é MUITO mais xaml mas acho que vai funcionar.

  • @tahirquraishi5818
    @tahirquraishi5818 Před 4 lety

    Fonts too small to see

  • @magicznypatrys3963
    @magicznypatrys3963 Před 5 lety

    How to invoke this menu after? click on item?

    • @fabiandenk8926
      @fabiandenk8926 Před 5 lety +1

      Have you already found a solution for this problem? Please let me know! I'm also searching for a solution.

    • @magicznypatrys3963
      @magicznypatrys3963 Před 5 lety

      @@fabiandenk8926 yes i found, thanks a lot :)

    • @fabiandenk8926
      @fabiandenk8926 Před 5 lety

      I've found a solution!
      just view my comment above

    • @fabiandenk8926
      @fabiandenk8926 Před 5 lety

      @@magicznypatrys3963 how did u do?

    • @fabiandenk8926
      @fabiandenk8926 Před 5 lety

      @@magicznypatrys3963 can u explain it please 🤪

  • @OmerFarukTanr
    @OmerFarukTanr Před 5 lety +2

    Github = Caculator ??? :)

  • @vandeljasonstrypper6734
    @vandeljasonstrypper6734 Před 5 lety +1

    you should move to UWP
    the reason why winform and wpf still alive and support dotnet core is that microsoft didn't wanna left windows 7 and xp
    time to move on

    • @KJMastalerz
      @KJMastalerz Před 4 lety

      The problem is that most financial corporations run win7, as a lot of applications that are designed for them would be lost on win10. Never the less, I actually think WPF is better than UWP for business porpuses that would not require to be cross-platform apps.

  • @chamir4614
    @chamir4614 Před 5 lety +1

    Is WPF cross platform?

    • @AbelDutraUI
      @AbelDutraUI  Před 5 lety +1

      Unfortunately not :(

    • @Unknown-868
      @Unknown-868 Před 5 lety

      Coming soon! Now with C # 8.0 and visual studio 2019, you can create WPF app with .Net Core 3!! It's still in beta, but it's only a matter of time!

    • @mwaqasaz
      @mwaqasaz Před 4 lety

      @@Unknown-868 But Still not cross plat form Microsoft Specifically told that Window Form Core and WPF Core is NOT CROSS PLATFORM

  • @javadjamshidi3399
    @javadjamshidi3399 Před 5 lety +1

    Cool