Skip to content

jevonsflash/V-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V-Control

许可证 nuget codeSize 编程语言

V-Control是适用于.NET MAUI 的组件库(Component),它提供了一组开箱即用的 UI 控件,可快速搭建面向业务的应用程序界面。

alt text

功能

Todo

  • VAutocomplete - 自动完成组件
  • VComparisonView - 比较视图组件
  • VCalendar - 日历组件
  • 暗黑模式
  • 基于 BlazorApp 的组件

快速开始

  1. 在你的.NET MAUI 项目中执行以下命令来安装 V-Control:
dotnet add package VControl

或在NUGET中搜索"V-Control"并安装它。

  1. MauiProgram 使用.UseVControl()在MauiAppBuilder中添加V-Control的处理程序。
public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder();
    builder
        .UseMauiApp<App>()
        .UseVControl()   //👈在这里添加V-Control的处理程序
    var mauiApp = builder.Build();
    return mauiApp;
}
  1. 打开 App.xaml 文件, 在资源中添加<v:VControlTheme />
<?xml version = "1.0" encoding = "UTF-8" ?>
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:v="clr-namespace:VControl.Styles;assembly=VControl">
    <Application.Resources>
        <v:VControlTheme />
        ...
    </Application.Resources>   
</Application>

文档

前往V-Control Docs

源码和示例

您可以前往GitHub查看V-Control的源码和示例。

Stargazers over time

Stargazers over time

About

An out-of-the-box .NET MAUI component library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages