using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace Szmedi.RvKits.Converters { /// /// Base class for the converters controlling the visibility and enabled state of window caption buttons. /// public abstract class WindowCaptionButtonBaseConverter : IMultiValueConverter { /// /// Identifier for the minimize caption button. /// public string MinimizeButtonName => "minimizeButton"; /// /// Identifier for the maximize/restore caption button. /// public string MaximizeRestoreButtonName => "maximizeRestoreButton"; /// /// Identifier for the close caption button. /// public string CloseButtonName => "closeButton"; /// /// Creates a new . /// public WindowCaptionButtonBaseConverter() { } public abstract object Convert(object[] values, Type targetType, object parameter, CultureInfo culture); public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) { throw new NotImplementedException(); } } }