整理
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user