Hi Mohamed,
Greetings from Syncfusion.
Query: “when i use the Local:CustomComboBox in any navigation
page and then try to navigate to another page in IOS the Application
Crashing,”
We analyzed the reported
issue, and this could be occurred due to that when you navigate from one page
to another page. This seems to be a sample level issue. Please modified code
snippet to resolve the reported issue
Code snippet[C#]:
if (Control != null) if
(CrossMultilingual.Current.CurrentCultureInfo.EnglishName ==
"Arabic") |
We have prepared the sample
based on the provided code snippet. Please have the sample from the following
Sample: https://www.syncfusion.com/downloads/support/forum/149543/ze/SfComboBoxSample-863830929
Please let us know if you
have any other concern.
Regards,
Hemalatha M.
public class ComboBoxRendererAndroid : SfComboBoxRenderer
{
public ComboBoxRendererAndroid(Context context) : base(context)
{
}
protected override void OnElementChanged(ElementChangedEventArgs<SfComboBox> e)
{
base.OnElementChanged(e);
if (Control != null)
{
Control.GetAutoEditText().Gravity = GravityFlags.Left;
}
}
} |
<local:CustomComboBox
x:Name="ddlMonths"
ShowBorder="False"
Watermark="إختر الشهر"
MaximumDropDownHeight = "180">
<local:CustomComboBox.ComboBoxSource>
|