Xamarin Forms #8: Data Binding

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • In this video lesson, I will show you what you need to know on data binding in Xamarin.Forms.
    Enjoy!
    🔔 Subscribe to my TH-cam channel
    www.youtube.co...
    📃 Watch related playlists
    Playlist with all my videos on Xamarin Forms:
    th-cam.com/users/pl....
    Download Visual Studio 2019 here:
    aka.ms/VisualS...
    #xamarin, #xamarinforms

ความคิดเห็น • 16

  • @Mikaelson08
    @Mikaelson08  3 ปีที่แล้ว +4

    🔔If you like the video, give this video a thumbs up and consider subscribing, and hit the bell button to keep you updated. Thanks! Keep Safe!

  • @lammetjeslam2791
    @lammetjeslam2791 3 ปีที่แล้ว +3

    Pls. continue your series. these are condensed and vital pieces for me to learn and understand more about Xamarin Forms. Thanks a lot!

    • @Mikaelson08
      @Mikaelson08  3 ปีที่แล้ว +2

      I will. You're welcome!

  • @joefacenda3034
    @joefacenda3034 2 ปีที่แล้ว +1

    Thanks for these videos. They are short and to the point.

  • @artbergquist3958
    @artbergquist3958 2 ปีที่แล้ว +1

    Around 1:32, I noticed a couple things:
    a) I believe "target t derive" needs to be replaced with "target derive" in the following sentence:
    "The target property must be a bindable property, which means that the target object must be bindable property, which means that the target t derive from BindableObject."
    Also, shouldn't "be bindable" be replaced with "be a bindable"?
    b) "Text is" needs to be replaced with "Text is" in the following sentence:
    "A property of Label such as Text is associated with the bindable property TextProperty."

  • @boyanpetrov4628
    @boyanpetrov4628 2 ปีที่แล้ว +1

    Good stuff! Thanks for your effort in these videos

  • @animemoment352
    @animemoment352 3 ปีที่แล้ว +3

    Nice video!

    • @Mikaelson08
      @Mikaelson08  3 ปีที่แล้ว +2

      Glad you enjoyed it

  • @JVDColin
    @JVDColin ปีที่แล้ว

    But what if you want to bind the attribute of another object too for example the labels color? Right now you already have referenced the Slider in the BindingContext, how would you reference multiple objects and be able to get their values for different attributes of your label? I haven't tested this but I am guessing you'd maybe have to explicitly type out their fullname like Slider.Value and SomeObject.Value?

  • @artbergquist3958
    @artbergquist3958 2 ปีที่แล้ว +1

    If you want to see the degrees symbol in lieu of the " degrees" text, you can replace the following code:
    Text="{Binding Value, StringFormat='The angle is {0:F2} degrees'}"
    with the following code:
    Text="{Binding Value, StringFormat='The angle is {0:F2}°'}"

  • @artbergquist3958
    @artbergquist3958 2 ปีที่แล้ว +1

    Technically, "{" and "}" are known as curly braces, not brackets.

  • @lammetjeslam2791
    @lammetjeslam2791 3 ปีที่แล้ว +1

    Instead of literally reading out loud the text, it is better to breakdown and take apart the context and explain more clearly and in a bit more detail these objectives to achieve a better understanding.

    • @Mikaelson08
      @Mikaelson08  3 ปีที่แล้ว

      Thanks for the advice!