Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DatePicker and Date Format
Message
De
17/12/2012 09:50:27
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Titre:
DatePicker and Date Format
Divers
Thread ID:
01559889
Message ID:
01559889
Vues:
64
Hi,

Using .Net 4.0 XAML and C#
<TextBox Grid.Column="3" Grid.RowSpan="1" Margin="0" Name="txtIssue" Text="{Binding cus_issue, StringFormat=d, Mode=Default}" HorizontalAlignment="Stretch" VerticalAlignment="Center" />
If I have a date like 30th October 1998 it displays in the textbox like 10/30/1998 which is incorrect according to my culture settings. It should be 30/10/1998.

I don't believe that my code sets any culture specific layout for dates, but I am using a framework (Mere Mortals .NET) so do not know everything about it.

Can someone tell me what I should be looking for that controls this setting?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform