mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-14 05:12:09 +08:00
18 lines
642 B
C#
18 lines
642 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? versionButtonLabelContent = values[0] as string;
|
|
string? versionButtonVersionContent = values[1] as string;
|
|
|
|
return $"{versionButtonLabelContent} {versionButtonVersionContent}";
|
|
}
|
|
|
|
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) => throw new NotImplementedException();
|
|
} |