共 5 篇文章 |
|
IsSynchronizedWithCurrentItem="True" 这个ListBox的代码如下: <ListBox Grid.Column="0" Grid.Row="0" Margin="5,5,5,5" ItemsSource="{Binding Source={StaticResource employeeSource}}" ItemTemplate="{StaticResource showName}" IsSynchronizedWithCurrentItem=&qu... 阅5529 转38 评0 公众公开 07-05-16 16:30 |
今天我将介绍如何对"对话框"进行数据绑定。Column="1" Name="Name" Margin="5" Content="{Binding Source={StaticResource source}, Path=Name}"/> <Label Grid.Column="1" Name="Comment" Margin="5" Content="{Binding Source={StaticResour... 阅1113 转3 评0 公众公开 07-05-16 16:00 |
随着Windows Vista 的发行,随之迩来的肯定是基于Vista的应用程序的开发,而Vista最引人的特性之一就是它的用户界面,而WPF则为实现Vista风格的程序开发提供了一种让人兴奋的方法,如果你是一个ASP.NET程序员,那么你更不会陌生. 首先,它实现了将用户界面和程序实现分开。WPF使用一种基于XML的语言来定义用户界面从而完成上述的... 阅1656 转7 评0 公众公开 07-05-16 11:53 |
WPF嘛,就是现在称之为Windows Presentation Foundation,小名叫Avalon的那个东东,为了更好的实现Windows Vista体验的基础层架构,是.NET 3.0的一部分。我们知道,WPF本身是WinFX也就是现在的.NET 3.0的一部分,所以想要运行WPF,客户端必须安装.NET 3.0,而.NET 3.0的安装条件是Windows XP、Windows Vista、Windows Server 2003、Windows Long... 阅466 转0 评0 公众公开 07-05-16 11:43 |