Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 2a9c9af

Browse files
authored
Merge pull request #593 from alwinSie/patch-1
Update SimpleColorPickerPage.xaml
2 parents 85b4e4b + 5101764 commit 2a9c9af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Forms2Native/SimpleColorPicker/SimpleColorPickerPage.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
</winControls:TextBlock.FontFamily>
4949
</winControls:TextBlock>
5050
<BoxView Color="{Binding SelectedColor}" HeightRequest="100" />
51-
<ios:UISlider Value="{Binding Red, Mode=TwoWay, UpdateSourceEventName=ValueChanged, Converter={StaticResource doubleToSingleConverter}" ThumbTintColor="{x:Static ios:UIColor.Red}" MinimumTrackTintColor="{x:Static ios:UIColor.Black}" MaximumTrackTintColor="{x:Static ios:UIColor.Red}" />
52-
<ios:UISlider Value="{Binding Green, Mode=TwoWay, UpdateSourceEventName=ValueChanged, Converter={StaticResource doubleToSingleConverter}" ThumbTintColor="{x:Static ios:UIColor.Green}" MinimumTrackTintColor="{x:Static ios:UIColor.Black}" MaximumTrackTintColor="{x:Static ios:UIColor.Green}" />
53-
<ios:UISlider Value="{Binding Blue, Mode=TwoWay, UpdateSourceEventName=ValueChanged, Converter={StaticResource doubleToSingleConverter}" ThumbTintColor="{x:Static ios:UIColor.Blue}" MinimumTrackTintColor="{x:Static ios:UIColor.Black}" MaximumTrackTintColor="{x:Static ios:UIColor.Blue}" />
51+
<ios:UISlider Value="{Binding Red, Mode=TwoWay, UpdateSourceEventName=ValueChanged, Converter={StaticResource doubleToSingleConverter}}" ThumbTintColor="{x:Static ios:UIColor.Red}" MinimumTrackTintColor="{x:Static ios:UIColor.Black}" MaximumTrackTintColor="{x:Static ios:UIColor.Red}" />
52+
<ios:UISlider Value="{Binding Green, Mode=TwoWay, UpdateSourceEventName=ValueChanged, Converter={StaticResource doubleToSingleConverter}}" ThumbTintColor="{x:Static ios:UIColor.Green}" MinimumTrackTintColor="{x:Static ios:UIColor.Black}" MaximumTrackTintColor="{x:Static ios:UIColor.Green}" />
53+
<ios:UISlider Value="{Binding Blue, Mode=TwoWay, UpdateSourceEventName=ValueChanged, Converter={StaticResource doubleToSingleConverter}}" ThumbTintColor="{x:Static ios:UIColor.Blue}" MinimumTrackTintColor="{x:Static ios:UIColor.Black}" MaximumTrackTintColor="{x:Static ios:UIColor.Blue}" />
5454
<androidWidget:SeekBar x:Arguments="{x:Static androidLocal:MainActivity.Instance}" Progress="{Binding Red, Mode=TwoWay, UpdateSourceEventName=ProgressChanged, Converter={StaticResource doubleToIntConverter}}" Max="256" />
5555
<androidWidget:SeekBar x:Arguments="{x:Static androidLocal:MainActivity.Instance}" Progress="{Binding Green, Mode=TwoWay, UpdateSourceEventName=ProgressChanged, Converter={StaticResource doubleToIntConverter}}" Max="256" />
5656
<androidWidget:SeekBar x:Arguments="{x:Static androidLocal:MainActivity.Instance}" Progress="{Binding Blue, Mode=TwoWay, UpdateSourceEventName=ProgressChanged, Converter={StaticResource doubleToIntConverter}}" Max="256" />

0 commit comments

Comments
 (0)