LineBreakMode - 它如何与 xamarin.forms 中的 SfRadioButton (syncfusion) 一起工作?
LineBreakMode - how does it works with SfRadioButton (syncfusion) in xamarin.forms?
Syncfusion 文档写下我可以将 LineBreakMode 与 SfRadioButton 一起使用,但它不起作用
<syncfusion:SfRadioGroup x:Name="RatingGroup">
<syncfusion:SfRadioButton x:Name="first"> <-- LineBreakMode doesn't work in this tag !-->
<syncfusion:SfRadioButton.Text>
The communication between the company and me was good...
</syncfusion:SfRadioButton.Text>
</syncfusion:SfRadioButton>
</syncfusion:SfRadioGroup>
谁能帮我解决这个问题?
非常感谢!
我使用了一个旧的 syncfusion 版本,它还不包含 LineBreakMode。
根据您的更新,我们怀疑您在应用程序中使用了旧版本的 Syncfusion.Xamarin.Buttons nuget。所需的功能“LineBreakMode”可从 Syncfusion.Xamarin.Buttons.
的 17.3.0.14 版本获得
要解决此问题,请更新 Nuget 并按照以下代码片段使用
<syncfusion:SfRadioGroup HorizontalOptions="Start" WidthRequest="150" x:Name="RatingGroup">
<syncfusion:SfRadioButton LineBreakMode="WordWrap" x:Name="first">
<syncfusion:SfRadioButton.Text>
The communication between the company and me was good...
</syncfusion:SfRadioButton.Text>
</syncfusion:SfRadioButton>
</syncfusion:SfRadioGroup>
截图:
详情请参考下方UG link。
Syncfusion 文档写下我可以将 LineBreakMode 与 SfRadioButton 一起使用,但它不起作用
<syncfusion:SfRadioGroup x:Name="RatingGroup">
<syncfusion:SfRadioButton x:Name="first"> <-- LineBreakMode doesn't work in this tag !-->
<syncfusion:SfRadioButton.Text>
The communication between the company and me was good...
</syncfusion:SfRadioButton.Text>
</syncfusion:SfRadioButton>
</syncfusion:SfRadioGroup>
谁能帮我解决这个问题?
非常感谢!
我使用了一个旧的 syncfusion 版本,它还不包含 LineBreakMode。
根据您的更新,我们怀疑您在应用程序中使用了旧版本的 Syncfusion.Xamarin.Buttons nuget。所需的功能“LineBreakMode”可从 Syncfusion.Xamarin.Buttons.
的 17.3.0.14 版本获得要解决此问题,请更新 Nuget 并按照以下代码片段使用
<syncfusion:SfRadioGroup HorizontalOptions="Start" WidthRequest="150" x:Name="RatingGroup">
<syncfusion:SfRadioButton LineBreakMode="WordWrap" x:Name="first">
<syncfusion:SfRadioButton.Text>
The communication between the company and me was good...
</syncfusion:SfRadioButton.Text>
</syncfusion:SfRadioButton>
</syncfusion:SfRadioGroup>
截图:
详情请参考下方UG link。