An editor for Microsoft Adaptive Cards that supports the new templating language and DOESN'T use JavaScript, because JavaScript isn't a real programming language.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

42 lines
1.6 KiB

<Page
x:Class="Adaptive_Card_Editor_UWP.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Adaptive_Card_Editor_UWP"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid Padding="40">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="33*" />
<ColumnDefinition Width="33*" />
<ColumnDefinition Width="33*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="20" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0">
Adaptive Card JSON Input:
</TextBlock>
<TextBlock Grid.Row="0" Grid.Column="1">
Rendered Output (UWP Library):
</TextBlock>
<TextBlock Grid.Row="0" Grid.Column="2">
Rendered Output (Template Library):
</TextBlock>
<TextBox Grid.Row="1" Grid.Column="0" x:Name="txtInput" Margin="20" KeyUp="txtInput_KeyUp" TextWrapping="Wrap"></TextBox>
<Border Grid.Row="1" BorderBrush="#777" BorderThickness="1" Grid.Column="1" Margin="20">
<Grid x:Name="grdCard">
</Grid>
</Border>
<Border Grid.Row="1" BorderBrush="#777" BorderThickness="1" Grid.Column="2" Margin="20">
<Grid x:Name="grdTemplated">
</Grid>
</Border>
</Grid>
</Page>