MarkupGrid Object
Description
Grid Control
For a list of all members defined in this module, see MarkupGrid Members.
Object Model
















Remarks
Displaying elements in a table format using columns and rows is done with the Grid Control.
Unlike a Table, the Grid is used strictly for layout purposes. The Grid is useful in that you can arrange controls in columns and rows and have them lined up vertically and horizontally. This is beneficial if items are not all the same size; the columns and rows will still remain uniform.
The Grid is probably one of the more complex controls you will use. To use a Grid, you must specify how many rows and columns are needed, and how each row and column should be sized. Optionally, you can set the width and height of the grid.
Example
Below is a very simple sample of how to use a Grid panel to create a 3x3 cube.
xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.