【发布时间】:2019-02-15 06:54:51
【问题描述】:
我的项目中有 2 个要翻译的资源文件。我在我的布局中使用了参数,它工作正常,但我有一个ListView,我需要从这个资源文件中绑定一个参数!
<Label Text="Quantity" HorizontalTextAlignment="Center" TextColor="#231F20" FontFamily="{StaticResource MyriadProRegularFont}" Grid.Column="0" Grid.Row="0">
<Label.FontSize>
<OnIdiom Phone="12" Tablet="14"/>
</Label.FontSize>
</Label>
这个标签放在ListView中,我需要将它绑定到资源文件中的一个参数。我该怎么做?
【问题讨论】:
标签: listview xamarin.forms resources translation