Culture doesnt work

I am simply doing this below and according to your documentation it should work, but it throws exception

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:MultiNumeric"
    xmlns:syncfusion="clr-namespace:Syncfusion.SfNumericTextBox.XForms;assembly=Syncfusion.SfNumericTextBox.XForms"
    xmlns:numeric="clr-namespace:Syncfusion.SfNumericUpDown.XForms;assembly=Syncfusion.SfNumericUpDown.XForms"
             xmlns:syncfusion1="clr-namespace:Syncfusion.ListView.XForms;assembly=Syncfusion.SfListView.XForms"
             x:Class="MultiNumeric.MainPage">
    <ContentPage.Resources>
        <ResourceDictionary>          
            <Style x:Key="NumericStyle" TargetType="numeric:SfNumericUpDown">
             </Style>
        </ResourceDictionary>
    </ContentPage.Resources>  
<StackLayout BackgroundColor="White" >
        <numeric:SfNumericUpDown x:Name="numerictextbox"  Culture="de-DE"/>
</StackLayout>
</ContentPage>



Unhandled Exception:

Xamarin.Forms.Xaml.XamlParseException: Position 16:59. Cannot assign property "Culture": Property does not exists, or is not assignable, or mismatching type between value and property


1 Reply

SK Selva Kumar  Veerakrishnan Syncfusion Team January 29, 2018 12:51 PM UTC

Hi Emil,
Sorry for the inconvinience.
By Standard we cannot set the CultureInfo property in XAML page. The code represented in the UG seems to be wrong. We will modify our UserGuideDocumentation and the changes will be updated in our 2018 Volume 1.
Regards,
Selva Kumar V.

Loader.
Up arrow icon