Creating Reusable Controls - WPF TUTORIALS

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 33

  • @BeholdTheLight23
    @BeholdTheLight23 Před 3 lety +15

    Your videos are like golden nuggets. I love them all, you always read my mind and come up with the problem I think of and in minutes the answer is right there. I just can't stress enough how useful your videos are...

    • @SingletonSean
      @SingletonSean  Před 3 lety +4

      Glad these tutorials are helpful Norbert, and thank you for the donation!

    • @BeholdTheLight23
      @BeholdTheLight23 Před 3 lety +2

      @@SingletonSean Very welcome, I love your work and you teach people the way it meant to be.

  • @gary6212
    @gary6212 Před 7 měsíci +2

    Finally someone that explains how to pass data into and out of custom user controls...

  • @alanrgo1
    @alanrgo1 Před rokem

    Loved how you don’t just explain the problem of not using reusable components, but actually make the viewer go through the cumbersome process of changing code multiple times, so they can realize by themselves this is a problem.

  • @someone150
    @someone150 Před rokem +4

    Dude, respect for excellent tutorials

  • @marcosmoreira25
    @marcosmoreira25 Před 3 lety +3

    Thank you so much for the videos, I started watching to do a job interview and now I'm working with WPF, all thanks to you man, keep up with the awesome work! I wish you all the best!

    • @SingletonSean
      @SingletonSean  Před 3 lety

      Glad this has all helped Marcos, best wishes at your job!

  • @yoshimitsupunk
    @yoshimitsupunk Před rokem

    Thank-you for this video. Was able to create a custom text box with placeholder text. 🙏🏾

  • @fredwbd95
    @fredwbd95 Před 18 dny

    This is great, but I have a question about building a complex user control where I can't see the colors that I'm binding by default. I want to be able to apply a theme later on, but I want the default colors to show in the XAML editor while I'm building the control itself. Putting the control in some window and assigning properties works as expected, it's just building the component itself is awkward because I can't see how it's going to look in the XAML editor.
    The other thing is that intelisense does not autocomplete on "{Binding ...}" but does autocomplete on "{Binding Path=...}" and I'm wondering if that's something that's cropped up in the last few years, or if I'm just doing something wrong.

  • @terry_hutt
    @terry_hutt Před měsícem

    Good stuff.

  • @user-pu2zp2ke2l
    @user-pu2zp2ke2l Před 7 měsíci

    Great thanks

  • @8180634
    @8180634 Před rokem

    This was excellent, thank you! Your pace works with my ADD too. ;)

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

    Such an informative video. Thank you

  • @calin1996mh
    @calin1996mh Před rokem

    Excellent video!

  • @user-yp4wd7dr2h
    @user-yp4wd7dr2h Před rokem

    @SingletonSean
    Hello Sean! thanks for the videos.
    Can Custom Controls have their own view model for bussiness logic ?

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

    Thanks for this video, but i'm a litle question, how implement a command in a user control.
    Before Thanks

    • @SingletonSean
      @SingletonSean  Před 3 lety

      Hey Pierre, good question! This video demonstrates commands in user controls, specifically for handling routed events with commands: czcams.com/video/Cx6YE86XzYE/video.html

  • @sergeys5270
    @sergeys5270 Před 2 lety

    very good wpf videos

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

    Hi Sir,
    wenn i add a control inside the Header it can’t take Name property. Do you know why?

    • @lerocher2182
      @lerocher2182 Před 2 lety

      Like:
      If I add TextBlock inside
      Components:TierCard.Header
      I can’t give a Name to the TextBlock

  • @allianceokc5067
    @allianceokc5067 Před rokem

    With the routed event the sender is the tier card and not the button itself. Is there a way to have the sender = the button?

  • @KBhushan619
    @KBhushan619 Před 3 lety

    Very informative sean❤️

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

    Great video Sean. I have noticed that you are using code behind here. Will you still use the code behind if it was in a MVVM setup?

    • @SingletonSean
      @SingletonSean  Před 3 lety +5

      Thanks Tanzib! For the dependency properties in the TierCard, I would certainly use code-behind since there's really no MVVM alternative. Instead of the event handlers, I would probably add ICommand dependency properties on the TierCard for something like "JoinCommand". Then, I would have view models with commands to handle the join button clicks. Good question!

    • @tanzib82
      @tanzib82 Před 3 lety

      @@SingletonSean Great! thanks for clearing this out for me.

  • @vandev_929
    @vandev_929 Před 2 lety

    Thx.

  • @lerocher2182
    @lerocher2182 Před 2 lety

    Thank you Sir, Please how can i add TextChangedEvent to EventManager :)

    • @lerocher2182
      @lerocher2182 Před 2 lety

      I want to use a TextBox instead of a TextBlock and i dont know how to add TextChangedEvent to the EventManage. please can you help mir?

    • @lerocher2182
      @lerocher2182 Před 2 lety

      Ok. I did it !!!! :)

  • @erik6048
    @erik6048 Před 7 měsíci

    Sloooooooooow dooooooown

  • @AlbertBroderick-f2q
    @AlbertBroderick-f2q Před 4 dny

    Harris Sharon Garcia Ronald Martinez Anna

  • @wayahedia9989
    @wayahedia9989 Před rokem

    Nice. Thank you.