FrameworkElement Culture

There are 1 entries for the tag FrameworkElement Culture
[WPF] FrameworkElement default language

Se in un applicazionew Windows Forms scrivo una cosa del genere: public partial class Form1 : Form { public Form1() { InitializeComponent(); DateTime dt = new DateTime(2008, 07, 06); label1.DataBindings.Add(new Binding("Text", dt, null)); } } ottengo come risultato una label che contenente: “06/07/2008 00:00:00” Proviamo ora l’equivalente WPF ovvero: <Window x:Class="WpfApplication4.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" Title="Window1" Height="300" Width="300"> <Grid> <TextBlock...

posted @ domenica 6 luglio 2008 16.54 | Feedback (0)