I'm getting a strange error when using platform specific RowHeight.
This is the code:
<ListView Grid.Row="0" Grid.Column="1" ItemsSource="{Binding MenuList}"
SelectedItem="{Binding SelectedEngine, Mode=TwoWay}" SeparatorVisibility="None">
<ListView.RowHeight>
<OnPlatform x:TypeArguments="x:Int32" >
<On Platform="Android">65</On>
<On Platform="UWP">115</On>
</OnPlatform>
</ListView.RowHeight>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ContentView Padding="1">
<Frame OutlineColor="Black" CornerRadius="0" HorizontalOptions="Center"
VerticalOptions="Center"
BackgroundColor="#ffcc00" Padding="1" Margin="4">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="4*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ff:CachedImage Grid.Column="0" Source="{Binding CalculatedImageUrl}"
WidthRequest="120"
HeightRequest="100" />
<Label Grid.Column="1" Text="{Binding Name}"
Style="{StaticResource MenuLabelStyle}" LineBreakMode="WordWrap"
HorizontalOptions="Center"
VerticalOptions="Center" />
</Grid>
</Frame>
</ContentView>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>`
and this is the error message:
No property, bindable property, or event found for 'RowHeight', or mismatching type between value and property.
Why am I getting this and how can I resolve it?