WpfGrid2 ( WPF )

Objectives:
  • Behavior of Grid within Grid
    • Would mask a nested control like Text Box
  • Canvas as a container,
    • A Label Control is added to Canvas with code
      • L1.Content was used hold Data from An Array
      • for-each / LINQ  loop
  • Code : MainWindow.xaml.2.txt
Step:1 Create a New project

Step:2 Now edit code in Both Mainwindow.xaml and MainWindow.xaml.cs. Note the Text Box is masked by the Grid (grid1). MainWindow.xaml.1.txtMainWindow.xaml.cs.txt

Run time view

Step:3 Now replace the codes in MainWinow.xaml with MainWindow.xaml.2.txt. Note TextBox is separated from grid1

Step:4
Step:5
Step:6
Step:7
Step:8
Step:9
Step:10
Step:11
Step:12
Step:13
Step:14
Step:25
Step:16
Step:17