Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Menu
Grid « Windows Presentation Foundation « C# / C Sharp
C# / C Sharp
Windows Presentation Foundation
Grid
1.
GridSplitter Example
2.
GridSplitter as Entire Column or Row
3.
ColumnDefinition.Width=Auto
4.
ColumnDefinition.Width=*
5.
Grid With Splitter
6.
Bind to Grid Width and Height
7.
Simple Grid.xaml
8.
Use Grid to layout a Calendar
9.
Grid with Rectangle and GeometryDrawing
10.
Set Grid Row and Column for a Button
11.
Arrange UI Elements in a Grid
12.
Grid with Column Definition and Row definition
13.
Align Ellipses along with Grid
14.
Use GridSplitter
15.
Define rows / columns for Grid
16.
Using Grid.ColumnSpan
17.
Set Grid Row Height and Column Width to Auto
18.
Mixing row height styles
19.
Show Grid Lines
20.
Multiple Items in a Grid Cell
21.
Grid in ScrollViewer
22.
Margin vs Padding and Grid
23.
Without Panel.ZIndex
24.
Panel.ZIndex
25.
Stretched GridSplitter
26.
Window with Grid
27.
Arrange the children for Grid
28.
Set Row Height and column Width for Grid
29.
Set Row and Column Index when Adding Buttons to Grid
30.
Put more than one Object to one Grid Cell
31.
Set Column and Row index when adding Controls to a Grid
32.
Nested Grid
33.
Shared Size Group
34.
Empty RowDefinition and ColumnDefinition
35.
Grid Splitter and Alignment
36.
Use the Grid element to create a standard user interface (UI) dialog box.
37.
Place and size rectangles and ellipses in Grid cells
38.
Use Image as the Grid background
39.
Automatic Width and Height
40.
Grid with SharedSizeGroup
41.
Layout a Form with StackPanel and Grid
42.
Clear All Columns
43.
Clear All Rows
44.
Remove One Column
45.
Remove One Row
46.
The current number of Columns
47.
The current number of Rows
48.
Remove 5 Columns with ColumnDefinitions.RemoveRange
49.
Remove 5 Row with RowDefinitions.RemoveRange
50.
Contains Row
51.
Contains Column?
52.
Insert Row
53.
Insert Column
54.
Is Grid ReadOnly
55.
Grid mouse down event
56.
Grid Preview mouse down event
57.
Setting Grid row heights in code
58.
Layout Controls with Grid in code
59.
Set control to specific row and column in code
60.
Show Grid lines in code
61.
Programmatically use the positioning methods of Grid
62.
Add a ColumnDefinition to Grid
63.
Add a RowDefinition to Grid
64.
Grid PreviewMouseDown action and MouseDown action
65.
Grid MouseLeftButtonDown action and PreviewMouseLeftButtonDown action