Xamarin Forms #8: Data Binding

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

КОМЕНТАРІ • 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!

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

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

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

    Good stuff! Thanks for your effort in these videos

  • @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."

  • @animemoment352
    @animemoment352 3 роки тому +3

    Nice video!

  • @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.