mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 21:02:08 +08:00
18 lines
587 B
C#
18 lines
587 B
C#
using System;
|
|
using System.Globalization;
|
|
using System.Windows.Data;
|
|
|
|
namespace Sheas_Cealer.Convs;
|
|
|
|
internal class AboutVersionButtonContentConv : IMultiValueConverter
|
|
{
|
|
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
|
|
{
|
|
string? VersionButtonContent = values[0] as string;
|
|
string? version = values[1] as string;
|
|
|
|
return VersionButtonContent + version;
|
|
}
|
|
|
|
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) => throw new NotImplementedException();
|
|
} |