Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New controls: BoxView, CheckBox, ImageButton, and Slider #72

Merged
merged 5 commits into from Jan 30, 2020

Conversation

@Eilon
Copy link
Collaborator

Eilon commented Jan 30, 2020

New components available in Experimental Mobile Blazor Bindings!

Here's an example of using <Slider> with a two-way binding:

@code
{ 
    double mySlider = 6f;
}

<StackLayout>
    <Slider @bind-Value="mySlider" HorizontalOptions="LayoutOptions.Fill" Minimum="5.3" Maximum="10.8" />
    <Label Text="@("Current value is " + mySlider)" />
</StackLayout>

And <ImageButton>:

<ImageButton Source="@(new FileImageSource{File = "button.png"})" OnClick="MyOnClick" CornerRadius="4" />
@Eilon Eilon merged commit 9c1c963 into master Jan 30, 2020
5 checks passed
5 checks passed
license/cla All CLA requirements met.
Details
xamarin.MobileBlazorBindings Build #0.2.35-preview+beb052a41e succeeded
Details
xamarin.MobileBlazorBindings #0.2.35-preview+beb052a41e succeeded
Details
xamarin.MobileBlazorBindings (Windows) Windows succeeded
Details
xamarin.MobileBlazorBindings (WrapUp) WrapUp succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.