TDesign.Pro
0.1.1
dotnet add package TDesign.Pro --version 0.1.1
NuGet\Install-Package TDesign.Pro -Version 0.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TDesign.Pro" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TDesign.Pro --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TDesign.Pro, 0.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TDesign.Pro as a Cake Addin #addin nuget:?package=TDesign.Pro&version=0.1.1 // Install TDesign.Pro as a Cake Tool #tool nuget:?package=TDesign.Pro&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TDesignBlazor.Pro
基于 TDesignBlazor 的专业组件库,进一步提供比较复杂且适应应用开发的完整组件封装。
基础功能的TDesignBlazor 组件库
示例
<CrudDialogTable TCreate="WeatherForecast"
TUpdate="WeatherForecast"
TList="WeatherForecast"
TSearch="WeatherForecast"
TDetail="WeatherForecast"
PageTitle="天气"
ListDataSourceProvider="GetData"
DetailDataSourceProvider="Get"
OnFormCreating="Create"
OnFormUpdating="Update"
OnConfirmDeleting="Delete"
Key="m=>m.Id">
<SearchFormContent>
<TFormItem For="()=>context.TemperatureC" Label="城市">
<TInputText @bind-Value="context.Summary" />
</TFormItem>
</SearchFormContent>
<CreateFormContent>
<TFormItem For="()=>context.Summary" Label="城市">
<TInputText @bind-Value="context.Summary" />
</TFormItem>
<TFormItem For="()=>context.TemperatureC" Label="摄氏度">
<TInputText @bind-Value="context.TemperatureC" />
</TFormItem>
</CreateFormContent>
<UpdateFormContent>
<TFormItem For="()=>context.Summary" Label="城市">
<TInputText @bind-Value="context.Summary" />
</TFormItem>
<TFormItem For="()=>context.TemperatureC" Label="摄氏度">
<TInputText @bind-Value="context.TemperatureC" />
</TFormItem>
</UpdateFormContent>
<TableColumnContent>
<TTableFieldColumn Header="Id" TItem="WeatherForecast" TField="int" Field="p=>p.Id" />
<TTableFieldColumn Header="日期" TItem="WeatherForecast" TField="DateOnly" Field="p=>p.Date" Format="yyyy-MM-dd" />
<TTableFieldColumn Header="摄氏度" TItem="WeatherForecast" TField="int" Field="p=>p.TemperatureC" />
<TTableFieldColumn Header="华氏度" TItem="WeatherForecast" TField="int" Field="p=>p.TemperatureF" />
<TTableFieldColumn Header="备注" TItem="WeatherForecast" TField="string" Field="p=>p.Summary" />
</TableColumnContent>
</CrudDialogTable>
快速上手
Install-Package TDesignBlazor.Pro
builder.Services.AddTDesignPro();
//or
builder.Services.AddTDesignPro(configure => {
configure.AppName = ""系统名称"";
//..其他配置项
});
行为准则
本项目采用了贡献者契约定义的行为准则,以澄清我们社区的预期行为。请仔细阅读行为准则。
许可证(License)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
- TDesign (>= 0.7.0)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
- TDesign (>= 0.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.