0
Xamarin
をVisual Studio 2015
に使用してクロスプラットフォームアプリケーションを開発しています。私はXLabs.Forms v2.3.0- pre 05
を使用しており、radio buttons
とcheckboxes
で問題が発生しています。iOSとUWPでRadioButtonsとCheckBoxが正しく動作しない
現在、checkboxes
はUWP
で正常に機能しますが、iOS
には表示されません。 iOS
テキストのみに以下
ご覧ください写真を表示しますながらUWP
上
ラジオボタンは、まったく動作しません。
これは、チェックボックスのために私のコードです:
<ListView x:Name="lv_ReportQuestions">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout
Orientation="Vertical"
>
<StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand">
<StackLayout WidthRequest="{Binding DisplayWidth}">
<Label HorizontalOptions="FillAndExpand" Text="{Binding ItemName}" VerticalOptions="Center" LineBreakMode="WordWrap"/>
</StackLayout>
<controls:CheckBox DefaultText="" WidthRequest="40" IsEnabled="false" IsVisible="true" Checked="true" HorizontalOptions="EndAndExpand"/>
</StackLayout>
<Label HorizontalOptions="FillAndExpand" Text="{Binding SubText}" VerticalOptions="Center"/>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
これは、ラジオボタンの私のコードです:
<Label Text="Radio Buttons"/>
<Frame
HorizontalOptions="FillAndExpand"
VerticalOptions="CenterAndExpand"
OutlineColor="#000000"
>
<controls:BindableRadioGroup x:Name="ansPicker"
IsVisible="true"/>
</Frame>
ansPicker.ItemsSource = new[]
{
"Red",
"Blue",
"Green",
"Yellow",
"Orange"
};
私は他の可能な修正に従うことを試してみましたが、何も私のために働いていません。