“‚Œ‹‚‰¯‚‚‹ XAML - WPF ƒ—ƒ­‚°ƒ©ƒƒ³‚°

  • View
    1.277

  • Download
    1

Embed Size (px)

Text of “‚Œ‹‚‰¯‚‚‹ XAML - WPF...

  • 1

    XAML WPF

  • 2

    Microsoft MVP for Windows Platform Development

    XAML

    Twitter ID: @Neri 78

    Web: http://jp.infragistics.com

    Email: dikehara@infragistics.com

    http://jp.infragistics.com/mailto:dikehara@infragistics.com

  • 3

    XAML

    WPF XAML

    UI

  • 4

    WPF

    XAML UI

    UI

    :

  • XAML UI

  • 6

    XAML

    XAML = Extensible Application Markup Language

    XML

    HTML WPF UI

    MSDN Blog - XAML http://blogs.msdn.com/b/shozoa/archive/2014/07/23/what-s-xaml.aspx

    http://blogs.msdn.com/b/shozoa/archive/2014/07/23/what-s-xaml.aspx

  • 7

    XAML ()

    =

    : CLR

    : () [ ]

  • 8

    XAML [ContentProperty]

    [Object ] =

  • 9

    XAML

  • 10

    + UI

  • 11

    DEMOXAML UI

  • Q.

    UI

  • 13

    1.

    2.

    3.

  • 14

    A.

  • 16

    FrameworkElement

    DataContext DataContext

    )

    Window.DataContext=

    DataContext

  • 17

    DEMODataContext

  • 18

    DataContext TextBlock.Text

  • 19

    ()

    ()

    XAML

    TextBlock

    TextProperty

    Slider

    DataContextBinding Object

  • 20

  • 21

    TextBox.Text Slider1

    Value

  • 22

    4 TextBlock

    TextProperty

    TextBlock

    DataContextBinding Object

    Target Source

    ElementName

    Source

    RelativeSource

    DataContext DataContext

  • 23

    Window.DataContext=

    DataContext

  • 24

    DEMODataContext UI

  • 25

    SimpleDataClass

    StrValue =

    DataContext+

    DataBinding

    +

    UI

  • 26

    :

    DataGrid

    DataGridRow.DataContext 1

    DataGridCell Key

    1

    OrderID OrderDate Sales

    00114 6/2/2015 3:11: 28 AM 33445

    00106 6/17/2015 3:11:28 AM 77289

  • UI

  • 28

    1.

    2.

    3.

  • 29

    UI

    1. TextBlock

    2. ListBox

    3. DataGrid ListBox

    TextBlock

    TextBlock

    ListBox DataGrid

  • 30

    Employee EmployeeID EmployeeName Customers

    (CustomerList)

    Customer CustomerID CustomerName Orders

    (Order List)

    Order OrderID OrderDate Sales

  • 31

    Employee

    Customer

    Order

    Data

    Conte

    xt

  • 32

    DEMO UI

  • 33

    UI

    UI

    UI

  • :

  • 35

    :

    MSDN WPF

    https://msdn.microsoft.com/ja-jp/library/aa970268%28v=vs.110%29.aspx

    Blog

    http://blogs.msdn.com/b/shozoa/archive/2014/07/23/what-s-xaml.aspx

    @IT WPFhttp://www.atmarkit.co.jp/ait/subtop/features/dotnet/app/introwpf_index.html

    Infragistics WPF

    http://jp.infragistics.com/WPF

    https://msdn.microsoft.com/ja-jp/library/aa970268(v=vs.110).aspxhttp://blogs.msdn.com/b/shozoa/archive/2014/07/23/what-s-xaml.aspxhttp://www.atmarkit.co.jp/ait/subtop/features/dotnet/app/introwpf_index.htmlhttp://jp.infragistics.com/WPF

  • 36

    =

  • 37

    FAQ

    ?

    (0: , 1:)

    ?

    UI ?

    ?

    Web ?

    ?

    ?

  • 38

    XAML

    XAML

    XAML

    WPF UI

    UI

    Windows Forms

  • 39