This commit is contained in:
ShrlAlgo
2025-08-20 12:10:35 +08:00
parent fcd306b0f7
commit 955a01f564
962 changed files with 7893 additions and 127784 deletions

View File

@@ -1,7 +1,7 @@
using System.Globalization;
using System.Windows.Data;
namespace NeoUI.Controls;
namespace NeoUI.Converters.Internal;
/// <summary>
/// 该类实现了IValueConverter接口用于将Alpha透明度值0-255与百分比字符串0%-100%)之间进行转换。
@@ -11,6 +11,7 @@ namespace NeoUI.Controls;
/// </summary>
internal class AlphaToPercentConverter : IValueConverter
{
public static readonly AlphaToPercentConverter Instance = new();
/// <inheritdoc />
public object Convert(object? value, System.Type targetType, object? parameter, CultureInfo culture)
{