I have a question. I added an Image to my Grid, but now I want to change the row of the image from 0 to 2. I already gave my image a name: "imgColorPicker" How can I do this using C#?
Here is my code:
<Grid VerticalOptions="Center" x:Name="MainGrid">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="*" />
<RowDefinition Height="50" />
</Grid.RowDefinitions>
<Image Grid.Row="0" Source="Color_Picker" x:Name="imgColorPicker"/>
</Grid>
Any ideas?