# AntDesign.Avalonia **Repository Path**: JerryFox/AntDesign.Avalonia ## Basic Information - **Project Name**: AntDesign.Avalonia - **Description**: 从github导入 - **Primary Language**: C# - **License**: MIT - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-05 - **Last Updated**: 2024-08-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: Avalonia, UI, 前端 ## README # AntDesign.Avalonia ## Develop * please use visaulstudio 2022 or greater or rider * use .net7 runtime (version 7.0.100 or greater)(if you want to use others, please modify the version in the global.json) * please setup workloads include Android, iOS, Wasm * please open the long path support in Windows OS(https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry) ## Preview ![image](https://user-images.githubusercontent.com/28770378/230071873-7b20966b-b4fc-44bc-b95a-5f71bfcd2d66.png) ![image](https://user-images.githubusercontent.com/28770378/230072050-756fdfdf-1eb9-4d0b-9387-af4bf8e5ec39.png) ![image](https://user-images.githubusercontent.com/28770378/230071946-ed768bb2-e701-4e79-bb64-7000958ee28c.png) ![image](https://user-images.githubusercontent.com/28770378/230072189-50dad7ae-af08-4891-9c4c-d3be307fcb64.png) ![image](https://user-images.githubusercontent.com/28770378/230072321-bc44c29d-6710-45bf-8df7-353109ad1b72.png) ![image](https://user-images.githubusercontent.com/28770378/230072402-d9cd6925-7c66-40c2-9e16-53a7b94c064f.png) ![image](https://user-images.githubusercontent.com/28770378/230072486-91facdae-bc25-49a6-809b-f307b02321b1.png) ![image](https://user-images.githubusercontent.com/28770378/230072518-2974c5b7-4d6d-43c1-8b9a-638cfec50242.png) ![image](https://user-images.githubusercontent.com/28770378/230072606-02410c97-1e17-4331-85e9-80384248b913.png) ## How to use 1. Add [AntDesign.Avalonia][nuget] nuget package to your project: dotnet add package AntDesign.Avalonia 2. Edit `App.xaml` file: > If you install 1.0.0-* version or higher, use this: ```xaml ``` ```CS ``` > you can change ui global colour with Coloring Property: ```xaml ``` > you can change global CornerRadius with IsRounded Property: ```xaml ``` 3. If you want to using AntDesign only , you can only add [AntDesign] 4. If you want to using AntDesign DataGrid only , you can only add [AntDesign.DataGrid] 5. If you want to using AntDesign ColorPicker only , you can only add [AntDesign.ColorPicker] 6. If you want to using Custom Fonts-Alibaba PuHuiTi(Ͱջ) only , you can only add [Avalonia.Toolkit] ## Demo You can always download demo executable to play around with LocalizationManager > https://github.com/MicroSugarDeveloperOrg/AntDesign.Avalonia ## Version compatibility | LocalizationManager.Avalonia Version | Avalonia Version | |:-------------------------------------|:-----------------| | 0.1.0-preview6.x | 11.0-preview6 | | 0.1.0-preview7.x | 11.0-preview7 | | 0.1.0-preview8.x | 11.0-preview8 | | 0.1.0-rc1.x | 11.0-rc1.x | **NOTE** AntDesign.Avalonia is moving forward together with Avalonia preview versions now. So new feature/fixes are not backported to previous preview versions. If you need a feature/fix for outdated avalonia preview version, please raise an issue so we can do that for you. ## Credits [Avalonia](https://github.com/AvaloniaUI/Avalonia) [AntDesign](https://ant.design/)