Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<StackLayout VerticalOptions="Center">
<Label x:Name="lblText" Text="0" HorizontalOptions="Start" FontSize="Micro" HorizontalTextAlignment="Center" VerticalOptions="EndAndExpand" >
<Label.Margin>
<OnPlatform x:TypeArguments="Thickness">
<On Platform="iOS" Value="15,0" />
<On Platform="Android" Value="10,0" />
</OnPlatform>
</Label.Margin>
</Label>
<Slider x:Name="mySlider" Maximum="10000" Minimum="100" HorizontalOptions="FillAndExpand" ValueChanged="Handle_ValueChanged" >
<Slider.Margin>
<OnPlatform x:TypeArguments="Thickness">
<On Platform="iOS" Value="10,0" />
</OnPlatform>
</Slider.Margin>
</Slider>
</StackLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.