WPF C# | Drag & Drop to Upload File UI | UI Design in Wpf C# (Jd's Code Lab)

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ • 39

  • @JDsCodeLab
    @JDsCodeLab  4 роки тому +10

    A kind request,
    Support me on Patreon (www.patreon.com/join/jdscodelab/checkout?rid=5733953) as it will benefit me financially during this pandemic and also motivate me to provide you with better content and early access to my videos.
    And don't forget to Like, Subscribe & Share my videos.
    Click here to Subscribe Now: ua-cam.com/channels/k2GyexoK16XiKkrXLD_O2Q.html
    Your support is what encourages me to keep moving forward.❤️
    Thanking you for your support so far (:

  • @bleuthner
    @bleuthner 3 роки тому +1

    Kind question;(pretty good precise video): there is at 7:55 a use of "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\KeyShot 9" which is tranformed into "something unknown"?
    Can you or someone who is familar with describe me the meaning? Thx Toni

    • @JDsCodeLab
      @JDsCodeLab  3 роки тому

      Hi Toni,
      I haven't used anything regarding Keyshot 9. May be i am not getting you. Can you specify the steps where you are facing the issue?

    • @bleuthner
      @bleuthner 3 роки тому +2

      @@JDsCodeLab Hello, thanks for the quick response.
      @7:55 in your video is a short sequence which shows the mentioned "..KeyShot.. 9" which is a bit later shown in the video as
      x:Key="DocIcon" Figures"M6 2C4.9057453 2 4 ......"/>
      x:Key="CloseIcon" ... > From my understanding you do use an "image" of an icon which you connect or import into your xaml-code??
      But I don't have any experience on that! Do you have any advice how I can get that? Thx a lot! Toni

    • @JDsCodeLab
      @JDsCodeLab  3 роки тому +1

      Ok now i understood you. Follow these steps:
      1) Download any svg icon file from internet. Eg. materialdesignicons.com/
      2) Open and Edit this file with Notepad.
      3) Copy the value in 'd' attribute which will be like this d="M4......61Z".
      4) Add a PathGeometry in your Window.Resources or Resource Dictionary file like i do.
      5) In this PathGeometry's 'figure' attribute you need to paste that copied 'M4...61Z' value. Then assign a key to PathGeometry. So it be like this:
      Note: myIcon will be your icon key.

  • @EnchikO
    @EnchikO 4 роки тому +2

    Hi, good job. 5:48 Where do I get these Path DATA ?

  • @HerbertNijkamp
    @HerbertNijkamp 2 роки тому

    Thank you, useful tutorial , i notice in your video that the kb count remains 0 during the upload.

  • @luan5284
    @luan5284 3 роки тому +1

    Also would be super interesting to save the uploads in a Database!

    • @JDsCodeLab
      @JDsCodeLab  3 роки тому +1

      That's a great idea! Will do in any future videos.

  • @vinuhosanagar1
    @vinuhosanagar1 4 роки тому +2

    Thank you for this video
    I have one doubt. Can you pls tell me how to sort items alphabetically in a WPF listview which is bound to observable collection of some object such as employees..If I want to show employee list in listview based on employee name property alphabetically, how do I do that?
    I have spent a lot of time experimenting code but couldn't achieve it.
    Can you please help me 🙏🙂

    • @JDsCodeLab
      @JDsCodeLab  4 роки тому +1

      stackoverflow.com/questions/39412772/how-to-sort-observablecollection-alphabetically

  • @armandodma6730
    @armandodma6730 4 роки тому

    The Best bro 😎❤️

  • @Marcesosa22
    @Marcesosa22 3 роки тому +1

    Hi, how do you get the path data? Please explain to me how you do it?

    • @JDsCodeLab
      @JDsCodeLab  3 роки тому +1

      First i get the desired svg icon file then edit it with notepad and copy the d value. That's it.👍

    • @Marcesosa22
      @Marcesosa22 3 роки тому

      @@JDsCodeLab Muchas gracias!!!

  • @SuncoastSoftware
    @SuncoastSoftware 4 роки тому +2

    love this. where did you get the icons?

    • @JDsCodeLab
      @JDsCodeLab  4 роки тому

      Thanks. For icons i use Pichon app.

  • @sajjadmirshabi
    @sajjadmirshabi 4 роки тому +1

    Hi bro ... first thanks for awesome tutorials... I have a request ... please make a tutorial for a TODO app that has two columns and we can drag and drop works from each column to another ... and the main part I really confused and couldn't find any solution for that is when dragging a work a copy in lower opacity follow the mouse and we can see a shadow of work we dragged ... I really appreciate if you make something like this ❤❤❤

    • @JDsCodeLab
      @JDsCodeLab  4 роки тому

      Hey, i will try. Thanks 👍

  • @Marcesosa22
    @Marcesosa22 3 роки тому +1

    Hello again! Any chance to make it functional? I would love it to work with FTP. I have everything ready, I have the IP Server, UserName and pass. Any advice? Greetings.

    • @JDsCodeLab
      @JDsCodeLab  3 роки тому

      Hi Marce,
      Yes you can make it functional by using FluentFTP. Check these example and follow the steps: github.com/robinrodricks/FluentFTP/wiki/Quick-Start-Example

  • @julio_ciambelli
    @julio_ciambelli 3 роки тому

    I think you dont implement the remove button and i dont know how i can remove from list and
    refresh the mainwindow...can you help me?

    • @JDsCodeLab
      @JDsCodeLab  3 роки тому

      Implement MVVM and bind the observable collection with ItemsControl then you can bind the RelayCommand to remove button and remove the item from observable collection in ViewModel.

  • @bayramcapoglu
    @bayramcapoglu 3 роки тому

    Do you have a work with only c# instead of wpf as file uploader?

    • @JDsCodeLab
      @JDsCodeLab  3 роки тому

      No.

    • @bayramcapoglu
      @bayramcapoglu 3 роки тому

      @@JDsCodeLab How can I add C#

    • @bayramcapoglu
      @bayramcapoglu 3 роки тому

      @@JDsCodeLab When I write the c # codes in the video, it gives an error, can you help?

  • @the_null
    @the_null 4 роки тому +1

    Your works are beautiful and useful, but I wish they were not so quiet, please at least put a song on them. gl

    • @JDsCodeLab
      @JDsCodeLab  4 роки тому

      Thanks a lot. I don't like music, songs etc. But I will try to figure out something else.👍

  • @vivan9009
    @vivan9009 4 роки тому +3

    Los mejores programas en wpf

  • @luan5284
    @luan5284 3 роки тому

    Really good! Thank you!
    I somehow get this Expection :
    System.Windows.Markup.XamlParseException
    and I can't find anything that could do this.
    Anyone of you guys had a similar one?

    • @JDsCodeLab
      @JDsCodeLab  3 роки тому +2

      What is inner exception you are getting?

    • @luan5284
      @luan5284 3 роки тому

      @@JDsCodeLab NotSupportedException: RoutedEventConverter kann nicht von System.String konvertieren.
      English: RoutedEventConverter can not converted from System.String

    • @JDsCodeLab
      @JDsCodeLab  3 роки тому +1

      Did you check the Button Click event for error? Most probably there is a typo error.