.NET MAUI - Building your own custom controls

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

КОМЕНТАРІ • 20

  • @liemnguyen3088
    @liemnguyen3088 4 місяці тому +2

    Please make more video about CustomControl: Gesture, Event, DataBinding, native platform UI look!

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

    amazing Daniel, excellent post. I try this in a production app!!!

  • @JamesMCrutchley
    @JamesMCrutchley Рік тому

    This was very helpful in my current project. I need a way to access events for media element and I have spent a day or so trying to figure it out.
    I have remapped most of media element because I added custom controls and changed the playback controls to a custom UI with device specific code to allow full screen controls. It also has auto hide and fade background when controls are active.
    I still have to move the controls to handlers but what I have been trying to do is access the event handlers from outside of content view. I want to access media element statechanged event and media opened event from content page and not put all of my code in a content view.

  • @kopilkaiser8991
    @kopilkaiser8991 Рік тому

    I was able to learn a lot from watching your video. I was trying to understand in how to code custom controls. And, watching your tutorial, it gave me a better knowledge on this topic.

  • @aymanmetwally5560
    @aymanmetwally5560 Рік тому

    Great tutorial .. thanks.
    Can we use this custom component "Card Control" in a shared Class Lib (like the other video of MAUI Blazor) so we can use it in both Mobile and Web (Browser)?
    I'm worried that XAML can't be inside class libraries .. but I'm totally beginning Maui

    • @DanielHindrikes
      @DanielHindrikes  Рік тому +1

      Yes it can be in a class library. But if it is xaml you can only use it in other apps, not for web.

    • @aymanmetwally5560
      @aymanmetwally5560 Рік тому

      @@DanielHindrikes
      Thanks.
      And is there any way (XAML or not) that a reusable component that has its own UI+Code that's shared between mobile and web?

    • @DanielHindrikes
      @DanielHindrikes  Рік тому +1

      Yes, with Razor (Blazor) components.
      ua-cam.com/video/A_C8X-b2qXE/v-deo.html

  • @krugovi
    @krugovi Рік тому

    Great content Daniel, but what about mapping event emitted by the component as well as delivering data from the component to the outside world through that event?

  • @jeffm3865
    @jeffm3865 2 роки тому +1

    Great video. This is very helpful. Thanks

  • @Evolyzer
    @Evolyzer 6 місяців тому

    Thanks, this video really really helped me!

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

    Hey Daniel! Great content! I'd like to build a android home screen widget, but I'm unable to find a good code example.
    I'd be thrilled if you could make a video on this topic or maybe give me a few pointers in the right direction.
    Thanks in advance!

  • @Grand1Master
    @Grand1Master Рік тому

    How can we create a bindable command?

    • @DanielHindrikes
      @DanielHindrikes  Рік тому +1

      It is the same as for all properties, just use Command or ICommand as the type.

  • @stephenyork7318
    @stephenyork7318 2 роки тому +1

    Why is my comment getting deleted?

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

      I don't know. I did not delete it. But I don't trust the UA-cam spam filter, because sometimes they let obvious spam through. So I guess they can delete real comments too 😕

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

      @@DanielHindrikes yes, this happens in other channels too

  • @SamOverMars
    @SamOverMars Рік тому

    Thanks!

  • @igor5379
    @igor5379 Рік тому

    thanks!