Arrays 如何访问XAML xamarin中的字符串数组项属性
当选择Arrays 如何访问XAML xamarin中的字符串数组项属性,arrays,xamarin,xamarin.android,Arrays,Xamarin,Xamarin.android,当选择微调器时,是否可以访问字符串数组项的属性? 我有以下字符串数组: <string-array name="paypal_selling_rates"> <item fee="0.026">Under $2,500</item> <item fee="0.022">$2,500.01 - $5,000</item> <item fee="0.020">$5,000.01 -
微调器
时,是否可以访问字符串数组
项的属性?
我有以下字符串数组:
<string-array name="paypal_selling_rates">
<item fee="0.026">Under $2,500</item>
<item fee="0.022">$2,500.01 - $5,000</item>
<item fee="0.020">$5,000.01 - $15,000</item>
<item fee="0.015">$15,000.01 - $150,000</item>
<item fee="0.011">Over $150,000</item>
</string-array>
但是我如何才能访问属性费呢?这看起来像是一个Android问题。在Android上,字符串数组资源不能在项目上具有属性 所以答案是你不能
请在.中阅读更多关于此的信息,这将是不幸的。
paypalSellingRates.SelectedItem.ToString();