YE.Control 1.1.2025.816

dotnet add package YE.Control --version 1.1.2025.816
                    
NuGet\Install-Package YE.Control -Version 1.1.2025.816
                    
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="YE.Control" Version="1.1.2025.816" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YE.Control" Version="1.1.2025.816" />
                    
Directory.Packages.props
<PackageReference Include="YE.Control" />
                    
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 YE.Control --version 1.1.2025.816
                    
#r "nuget: YE.Control, 1.1.2025.816"
                    
#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 YE.Control@1.1.2025.816
                    
#: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=YE.Control&version=1.1.2025.816
                    
Install as a Cake Addin
#tool nuget:?package=YE.Control&version=1.1.2025.816
                    
Install as a Cake Tool

YE.Control

YE.Control是一个基于WPF框架的控件库。

UserControl

IP IP地址控件,可绑定IP地址、端口号。IP端口号通过'HasPort'设置启用与否。
依赖属性
/// IP地址,Default Value = "127.0.0.1"
string IPAddress;

/// 是否有端口号,Default Value = false
bool HasPort;
    
/// IP端口号,Default Value = 8501
int IPPort;
样例
xmlns:yecontrol="clr-namespace:YE.Control.UserControls;assembly=YE.Control"

<yecontrol:IP Width="240"
              Height="30"
              Margin="5"
              HorizontalAlignment="Left"
              HasPort="{Binding ElementName=IPPort, Path=IsChecked}"
              IPAddress="{Binding ServerIP}"
              IPPort="{Binding ServerPort}"
              BorderBrush="LightGreen"
              BorderThickness="1" />

alternate text is missing from this package README image

ImageEx 图像显示控件,基于System.Windows.Controls.Image控件增加了图像缩放、拖动、鼠标点击事件[右键单击-图像大小还原]
依赖属性
/// Image控件边框颜色 Default Value = Brushes.LightGray
System.Windows.Media.Brush MarginColor;

/// 图像内容
ImageSource ImageExSource;
样例
xmlns:yecontrol="clr-namespace:YE.Control.UserControls;assembly=YE.Control"

<yecontrol:ImageEx Height="300"
                   BorderBrush="LightGreen"
                   BorderThickness="3"
                   ImageExSource="{Binding ImagePathUri}" />

alternate text is missing from this package README image

StatueLED 状态灯控件,用于显示网络状态或其它状态
依赖属性
public enum StatusType
{
    /// <summary>离线状态</summary>
    OffLine,

    /// <summary>在线正常状态</summary>
    OnLine_OK,

    /// <summary>在线错误状态</summary>
    OnLine_Error,
}
/// 状态灯信息,Default Value = StatusType.OffLine
StatusType LEDType;
    
/// 状态灯信息,Default Value = Empty   
string StatusText;

/// 状态灯离线颜色,Default Value = Brushes.Gray
System.Windows.Media.Brush OffLineColor;

/// 状态灯在线正常颜色,Default Value = Brushes.Green[默认1s闪烁一次]
System.Windows.Media.Brush OnLineOKColor;

/// 状态灯在线错误颜色,Default Value = Brushes.Red
System.Windows.Media.Brush OnLineErrorColor;
样例
xmlns:yecontrol="clr-namespace:YE.Control.UserControls;assembly=YE.Control"

<yecontrol:StatusLED Margin="5"
                     HorizontalAlignment="Left"
                     StatusText="服务器"
                     LEDType="{Binding ServerLEDType}"
                     OffLineColor="Orange"
                     OnLineOKColor="LightGreen"
                     OnLineErrorColor="OrangeRed"/>
<yecontrol:StatusLED Margin="5"
                     HorizontalAlignment="Left"
                     StatusText="客户端"
                     LEDType="{Binding ClientLEDType}" />

alternate text is missing from this package README image

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • 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
1.1.2025.816 119 8/16/2025
1.1.2025.730 158 7/30/2025
1.0.2024.801 172 8/1/2024
1.0.2024.601 186 6/1/2024
1.0.2024.531-beta 148 5/31/2024
0.1.2024.529 156 5/29/2024
0.1.2024.528 143 5/28/2024
0.1.2024.518 160 5/18/2024
0.1.2024.515 182 5/15/2024
0.1.2024.514 150 5/14/2024

1、移除对Serilog、ValueConverters的依赖;