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.Converters;
namespace NeoUI.Converters.Internal;
/// <summary>
/// 隔行交错背景颜色
@@ -9,6 +9,10 @@ namespace NeoUI.Converters;
[ValueConversion(typeof(int), typeof(Visibility))]
public class InterlacedBackgroundConverter : IValueConverter
{
/// <summary>
/// InterlacedBackgroundConverter 的单例实例,用于提供隔行交错背景颜色的转换功能。
/// 该实例可以直接在XAML中通过静态资源引用以便为列表项等控件设置交替背景颜色。
/// </summary>
public static readonly InterlacedBackgroundConverter Instance = new();
/// <inheritdoc />