Projekt_SS25/Project_Periodensystem.View/Components/ElementTile.xaml.cs

16 lines
577 B
C#
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.

// Namespace der Datei muss zu deiner Projektstruktur und XAML-Klasse passen
namespace Project_Periodensystem.View
{
// Diese Klasse ist der "Code-Behind" für die XAML-Datei ElementTile.xaml
// Sie erbt von Avalonia's UserControl und repräsentiert eine einzelne Kachel (ein Element)
public partial class ElementTile : UserControl
{
// Konstruktor wird aufgerufen, wenn ein neues ElementTile erstellt wird
public ElementTile()
{
InitializeComponent(); // Lädt und verbindet die XAML mit dem Code
}
}
}