XAML ®‹‰¼·¸è¦ï¼ WPF ‚¢ƒ—ƒ‚±ƒ¼‚·ƒ§ƒ³¯½œ‚Œ¾™

  • View
    134

  • Download
    0

Embed Size (px)

DESCRIPTION

XAML の勉強不要! WPF アプリケーションは作れます. えムナウ(児玉 宏之) Microsoft MVP for Development Tools Visual C# .Net ユーザーエクスペリエンス研究所 わんくま 同盟. WPF アプリケーション. アジェンダ. 自己紹介 はじめに 簡単なアプリケーションを作ってみる Binding 概要 Linq to SQL とのバインディング アニメーション 3 D グラフィック まとめ. WPF アプリケーション. 自己紹介. 福井県越前市(武生市)出身、東京都杉並区在住。 - PowerPoint PPT Presentation

Text of XAML ®‹‰¼·¸è¦ï¼ WPF ...

XAML WPF

Microsoft MVP for Development Tools Visual C#.Net XAML WPF

#2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

1Binding Linq to SQL DWPF #2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2282028BitSQL Windows Forms WPF Visual C# Microsoft MVP for Development Tools Visual C# 4INETAJ INETAJ WPF #2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3WPF Silver Light XAML Expression Blend Visual Studio XAML WPF WPF #2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4WPF Expression Blend

Visual C# Visual Basic #21WPF

#21WPF

#21WPF

#21WPF

#21WPF

UNDO #21WPF

#21WPF Visual Studio

Visual Studio #21 Expression Blend Visual Studio Expression Blend Visual Studio WPF #2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13demoMicrosoft MVP for Development Tools Visual C#.Net #2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14Windows Presentation Foundation (WPF) UI UI UI WPF Binding #2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15WPF BindingBinding TextPersonNameTextBlockDataSourcePersonBinding #21WPF BindingDependency PropertyPropertyOneTimeOneWayTwoWayOneWayToSourceBinding BindingMode BindingModeDefault TwoWayOneWay #21WPF BindingDependency PropertyPropertyOneTimeOneWayTwoWayBinding BindingMode OneTime OneWay TwoWay #21WPF BindingDependency PropertyPropertyTwoWayOneWayToSourceBinding BindingModeBinding.UpdateSourceTrigger PropertyChanged LostFocus Explicit UpdateSource #21WPF BindingDataContext ItemsSource TextBlock.TextTextBlock.TextTextBlock.TextTextBlock.TextTextBlock.TextTextBlock.TextIDIDBinding Binding Binding Binding Binding Binding ListView. ItemsSource #21WPF BindingExpression Blend XML XML XML (CLR) ObservableCollection IEnumerable INotifyCollectionChanged INotifyPropertyChanged Linq to SQL #21WPF BindingWPF Expression Blend ADO.NET ADO.NET DataView IBindingList DependencyObjectWPF DependencyObject DependencyObject Blend #21WPF Linq to SQL Visual Studio WPF

WPF.NET Framework 3.5 #21WPF Linq to SQL LINQ to SQL

LINQ to SQL #21WPF Linq to SQL

#21WPF Linq to SQL

#21

WPF Linq to SQL Expression Blend ListBox listbox1 Blend LINQ to SQL CLR CLR #21

WPF Linq to SQL ListBox CLR LinqToSQL LinqToSQL Orders #21

WPF Linq to SQL DataTemplateCustomerDS Customers #21WPF Linq to SQL

CompanyNameContactName #21WPF public partial class Window1 : Window{ private DataClasses1DataContext dataContext = new DataClasses1DataContext();

public Window1() { InitializeComponent(); this.listbox1.ItemsSource = dataContext.Customers; }}ItemSource Customers DataContext #21 UI Binding UI DataContext ItemSource UI ListBox ListView DataTemplate WPF Binding #2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

32demoBindingMicrosoft MVP for Development Tools Visual C#.Net #2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

33UI UI Expression Blend WPF #2112/23/2008 1:19 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

34WPF

10x10 #21WPF MouseEnter MouseEnter

MouseEnter #21WPF MouseEnte