Created
July 24, 2010 15:23
-
-
Save scottlowe/488749 to your computer and use it in GitHub Desktop.
The quest for something less noisy than XAML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%YAML 1.2 | |
--- | |
UserControl: | |
Name: AddressBookControl | |
BackgroundColor: White | |
Controls: | |
StackPanel: | |
Children: | |
- Label: {Color: Blue, Content: This is the title} | |
- TextBox: {Text: Hello World, FontSize: 14} | |
- Button: {Width: 100, Height: 23, Content: Click Me!} | |
- Grid: | |
Width: 400px | |
Margin: 4 | |
ColumnDefinitions: [ColumnDefinition, ColumnDefinition, ColumnDefinition] | |
RowDefinitions: [RowDefinition, RowDefinition] | |
Children: | |
- TextBlock: {Grid.Column: 0, Text: Foo} | |
- TextBlock: {Grid.Column: 1, Text: Bar} | |
- TextBlock: {Grid.Column: 2, Text: Quotes are not often required} | |
- TextBlock: {Grid.Column: 0, Grid.Row: 1, Text: Foo} | |
- TextBlock: {Grid.Column: 1, Grid.Row: 1, Text: Bar} | |
- TextBlock: {Grid.Column: 2, Grid.Row: 1, Text: Quotes are not often required} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment