HorusSoftwareUY / Xamarin.Forms.Skeleton

The new loading approach for cool apps in Xamarin Forms
MIT License
451 stars 52 forks source link

How to use in interface code? #6

Closed alexandresanlim closed 4 years ago

alexandresanlim commented 4 years ago

I'm use C# to create pages.

How to do this:

<Label Text="{Binding Title}"
    TextColor="#c92726"
    FontSize="Large"
    extension:Skeleton.IsBusy="{Binding IsBusy}"
    extension:Skeleton.BackgroundColor="#c6c6c5" />

in c#?

alexandresanlim commented 4 years ago

got it!

componebt.SetBinding(Skeleton.IsBusyProperty, CreateBinding(x => x.IsFirstLoad));