To create a C1FlexGrid control, insert the following code below the application's constructor:
| Visual Basic | 
                     
                        Copy Code
                     
                 | 
            
|---|---|
                    Dim flexgrid1 As C1FlexGrid LayoutRoot.Children.Add(flexgrid1)  | 
            |
| C# | 
                     
                        Copy Code
                     
                 | 
            
|---|---|
                    var flexgrid1 = new C1FlexGrid(); LayoutRoot.Children.Add(flexgrid1);  | 
            |