WpfRectangular control ( WPF ) |
Objectives: |
Step:1 Create a New project |
Step:2 Edit MainWindow.xaml, add two more grid controls. Please use this code to edit this page. |
Step:3 In this example we will use rectangle and gradient brush . The scope around this api is shown below. |
Step:4Edit code in MainWindow.xaml.cs ( MainWindwo.xaml.cs.txt ) |
Step:5 Run time view |