Last active
August 29, 2015 14:10
-
-
Save dmohl/e8df4e5525c5c4ca94c2 to your computer and use it in GitHub Desktop.
FsXaml XAML example
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
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="300"/> | |
<ColumnDefinition Width="50"/> | |
</Grid.ColumnDefinitions> | |
<TextBlock Margin="5" Text="Enter Your Name:" FontSize="16" Grid.Row="0" Grid.ColumnSpan="2" /> | |
<TextBox Margin="5" Grid.Row="1" Grid.Column="0" FontSize="16" Text="{Binding Name}"/> | |
<Button Margin="3" Grid.Row="1" Grid.Column="1" FontSize="16" Content="Go" | |
Command="{Binding GoCommand}" CommandParameter="{Binding Name}"/> | |
<Label Foreground="Gray" Margin="5" Grid.ColumnSpan="2" Grid.Row="2" | |
FontSize="16" Content="{Binding Display, Mode=OneWay}"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment