mirror of
https://gitee.com/chinware/atomui.git
synced 2024-12-02 11:57:42 +08:00
47 lines
1.3 KiB
C#
47 lines
1.3 KiB
C#
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using Avalonia.Markup.Xaml;
|
|
using Avalonia.Styling;
|
|
|
|
namespace AtomUI.Demo.Desktop.ShowCase;
|
|
|
|
public partial class Overview : UserControl
|
|
{
|
|
public Overview()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public string MainInstall { get; set; } = "dotnet add package AtomUI --version 11.0.7";
|
|
|
|
public string MainStyle { get; set; } = """
|
|
<Application.Styles>
|
|
<StyleInclude Source="avares://AtomUI/Themes/Index.axaml" />
|
|
</Application.Styles>
|
|
""";
|
|
|
|
public string ColorPickerInstall { get; set; } = "dotnet add package AtomUI.ColorPicker --version 11.0.7";
|
|
|
|
public string ColorPickerStyle { get; set; } = """
|
|
<Application.Styles>
|
|
<StyleInclude Source="avares://AtomUI.ColorPicker/Index.axaml" />
|
|
</Application.Styles>
|
|
""";
|
|
|
|
public string DataGridInstall { get; set; } = "dotnet add package AtomUI.DataGrid --version 11.0.7";
|
|
|
|
public string DataGridStyle { get; set; } = """
|
|
<Application.Styles>
|
|
<StyleInclude Source="avares://AtomUI.DataGrid/Index.axaml" />
|
|
</Application.Styles>
|
|
""";
|
|
|
|
public string TreeDataGridInstall { get; set; } = "dotnet add package AtomUI.TreeDataGrid --version 11.0.7";
|
|
|
|
public string TreeDataGridStyle { get; set; } = """
|
|
<Application.Styles>
|
|
<StyleInclude Source="avares://AtomUI.TreeDataGrid/Index.axaml" />
|
|
</Application.Styles>
|
|
""";
|
|
} |