Files
Semi.Avalonia/demo/Semi.Avalonia.Demo/Pages/Overview.axaml.cs

49 lines
1.6 KiB
C#
Raw Normal View History

using Avalonia.Controls;
namespace Semi.Avalonia.Demo.Pages;
public partial class Overview : UserControl
{
public Overview()
{
InitializeComponent();
}
2025-02-28 17:22:31 +08:00
public string MainInstall { get; set; } = "dotnet add package Semi.Avalonia --version 11.2.1.5";
2024-07-23 14:57:21 +08:00
public string MainStyle { get; set; } =
"""
<Application.Styles>
<!-- You can still reference in old way. -->
2024-12-30 14:06:19 +08:00
<!-- <StyleInclude Source="avares://Semi.Avalonia/Index.axaml" /> -->
<semi:SemiTheme Locale="zh-CN" />
2024-07-23 14:57:21 +08:00
</Application.Styles>
""";
2025-02-28 17:22:31 +08:00
public string ColorPickerInstall { get; set; } = "dotnet add package Semi.Avalonia.ColorPicker --version 11.2.1.5";
2024-07-23 14:57:21 +08:00
public string ColorPickerStyle { get; set; } =
"""
<Application.Styles>
<StyleInclude Source="avares://Semi.Avalonia.ColorPicker/Index.axaml" />
</Application.Styles>
""";
2025-02-28 17:22:31 +08:00
public string DataGridInstall { get; set; } = "dotnet add package Semi.Avalonia.DataGrid --version 11.2.1.5";
2024-07-23 14:57:21 +08:00
public string DataGridStyle { get; set; } =
"""
<Application.Styles>
<StyleInclude Source="avares://Semi.Avalonia.DataGrid/Index.axaml" />
</Application.Styles>
""";
public string TreeDataGridInstall { get; set; } = "dotnet add package Semi.Avalonia.TreeDataGrid --version 11.0.10.1";
2024-07-23 14:57:21 +08:00
public string TreeDataGridStyle { get; set; } =
"""
<Application.Styles>
<StyleInclude Source="avares://Semi.Avalonia.TreeDataGrid/Index.axaml" />
</Application.Styles>
""";
}