XControl 1.1.1

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package XControl --version 1.1.1
                    
NuGet\Install-Package XControl -Version 1.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="XControl" Version="1.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XControl" Version="1.1.1" />
                    
Directory.Packages.props
<PackageReference Include="XControl" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XControl --version 1.1.1
                    
#r "nuget: XControl, 1.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.
#:package XControl@1.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XControl&version=1.1.1
                    
Install as a Cake Addin
#tool nuget:?package=XControl&version=1.1.1
                    
Install as a Cake Tool

XControl

WPF 工业控制控件库 — 闭源商业软件 · 需授权文件 · SDK 授权守卫

概述

XControl 是一套面向 WPF 应用程序的工业控制控件库,提供科技风格 UI 控件、表单布局、对话框等组件。本库为闭源商业软件,使用前需获取授权文件 xcontrol.auth.dll

授权说明:本库为闭源商业软件,使用前需获取授权文件 xcontrol.auth.dll,放置于项目根目录或 licenses/ 子目录下。编译时 SDK 会自动验证授权文件的合法性。

特性

特性 说明
科技风格控件 ShellWindow、TechBorder、Arc 等工业风格控件
表单布局 FormItem 表单项控件,支持标签、提示、验证
对话框 DrawerPanel 抽屉面板
日期时间 CalendarCard、DatePickerCard、TimePicker
全套样式 Button、TextBox、ComboBox、DataGrid 等 20+ 控件样式
双框架支持 同时支持 net8.0-windowsnet48(.NET Framework 4.8)
SDK 授权守卫 编译时验证授权 DLL,运行时 ECDSA 签名校验
毛玻璃资源 FrostedGlassResources 毛玻璃效果资源字典

安装

<PackageReference Include="XControl" Version="1.0.0" />

安装后,将授权文件 xcontrol.auth.dll 放置在项目根目录或 licenses/ 子目录下。NuGet 包的 build targets 会在编译时自动验证授权文件。

快速开始

1. 引入资源字典

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="pack://application:,,,/XControl;component/Themes/Generic.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>

2. 使用控件

<xc:ShellWindow Title="XXX系统">
    <xc:FormItem Label="名称" Hint="请输入名称">
        <TextBox xc:InfoElement.Placeholder="请输入" />
    </xc:FormItem>
</xc:ShellWindow>

控件列表

控件 说明
ShellWindow 科技风格主窗口
TechBorder 科技风格边框
Arc 弧形装饰
FormItem 表单项容器
DrawerPanel 抽屉面板
CalendarCard 日历卡片
DatePickerCard 日期选择卡片
TimePicker 时间选择器

样式资源

通过 Theme="xxx" 附加属性应用样式:

<Button Theme="Primary" Content="确定" />
<TextBox Theme="Filled" />

运行要求

  • .NET 8.0+ 或 .NET Framework 4.8
  • Windows 7 SP1 及以上
  • 授权文件 xcontrol.auth.dll
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net8.0-windows7.0 is compatible.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated

Initial release