123456789101112131415161718 |
- using Avalonia.Data.Converters;
- using System;
- using System.Collections.Generic;
- using System.Globalization;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace AvaloniaApplication2.Resources
- {
- internal class UserLogicalConverter : IMultiValueConverter
- {
- public object? Convert(IList<object?> values, Type targetType, object? parameter, CultureInfo culture)
- {
- return !(values[0].Equals(values[1]));
- }
- }
- }
|