Files
NebulaLauncher/Nebula.Launcher/Views/Controls/ServerContainerControl.axaml.cs

25 lines
600 B
C#
Raw Normal View History

2024-12-22 16:38:47 +03:00
using Avalonia;
2024-12-19 12:46:22 +03:00
using Avalonia.Controls;
namespace Nebula.Launcher.Views.Controls;
public partial class ServerContainerControl : UserControl
{
2024-12-22 16:38:47 +03:00
public static readonly StyledProperty<string> ServerNameProperty
= AvaloniaProperty.Register<ServerContainerControl, string>(nameof (ServerName));
public string ServerName
{
get => GetValue(ServerNameProperty);
set
{
SetValue(ServerNameProperty, value);
ServerNameLabel.Text = value;
}
}
2024-12-19 12:46:22 +03:00
public ServerContainerControl()
{
InitializeComponent();
}
}