MonthView.axaml 1.0 KB

1234567891011121314151617181920212223
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
  6. x:Class="InABox.Avalonia.Components.MonthView"
  7. Name="Control">
  8. <Border CornerRadius="{Binding ElementName=Control, Path=CornerRadius}"
  9. ClipToBounds="True">
  10. <Grid RowDefinitions="Auto,*">
  11. <Border Grid.Row="0"
  12. BorderBrush="LightGray" BorderThickness="0,0,0,1"
  13. Height="25"
  14. Background="White">
  15. <Canvas Name="HeaderCanvas"/>
  16. </Border>
  17. <Canvas Name="Canvas"
  18. Grid.Row="1"
  19. Background="WhiteSmoke"
  20. SizeChanged="Canvas_SizeChanged"/>
  21. </Grid>
  22. </Border>
  23. </UserControl>