Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <UserControl xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:vm="using:SeedDb.ViewModels"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="650"
- x:Class="SeedDb.Views.TermsOfServiceView"
- x:DataType="vm:TermsOfServiceViewModel"
- Background="Black">
- <Design.DataContext>
- <vm:TermsOfServiceViewModel />
- </Design.DataContext>
- <UserControl.Styles>
- <StyleInclude Source="/Styles/TermsOfServiceStyle.axaml" />
- </UserControl.Styles>
- <Border Classes="TosBorder">
- <Grid RowDefinitions="Auto,*,Auto">
- <Label Classes="TosTitle" Grid.Row="0" Content="{Binding Title}" />
- <Border Classes="InfoBlock" Grid.Row="1">
- <ScrollViewer AllowAutoHide="True" IsScrollChainingEnabled="True">
- <TextBlock Classes="Info" Text="{Binding Info}" IsEnabled="False" />
- </ScrollViewer>
- </Border>
- <Grid Grid.Row="2" ColumnDefinitions="*,*">
- <Button Classes="TosButton" Grid.Column="0" Content="Decline" Command="{Binding Cancel}" />
- <Button Classes="TosButton" Grid.Column="1" Content="Accept" Command="{Binding Ok}" />
- </Grid>
- </Grid>
- </Border>
- </UserControl>
Advertisement
Add Comment
Please, Sign In to add comment