Projekt_SS25/Project_Periodensystem.View/MainWindow.axaml

23 lines
934 B
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="clr-namespace:Project_Periodensystem.Controller;assembly=Project_Periodensystem.Controller"
xmlns:components="clr-namespace:Project_Periodensystem.View.Components;assembly=Project_Periodensystem.View"
x:Class="Project_Periodensystem.View.MainWindow"
Title="Periodensystem"
Width="900" Height="650"
CanResize="True">
<!-- DataContext auf den Controller setzen -->
<Window.DataContext>
<vm:PeriodensystemController />
</Window.DataContext>
<ScrollViewer HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto">
<!-- Canvas mit fester Größe: 18 Spalten × 80px = 1440px, 10 Zeilen × 80px = 800px -->
<Canvas x:Name="PeriodicCanvas"
Width="1440"
Height="800" />
</ScrollViewer>
</Window>