44 lines
1.4 KiB
C#
44 lines
1.4 KiB
C#
|
|
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
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Base class for the converters controlling the visibility and enabled state of window caption buttons.
|
|||
|
|
/// </summary>
|
|||
|
|
public abstract class WindowCaptionButtonBaseConverter : IMultiValueConverter
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Identifier for the minimize caption button.
|
|||
|
|
/// </summary>
|
|||
|
|
public string MinimizeButtonName => "minimizeButton";
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Identifier for the maximize/restore caption button.
|
|||
|
|
/// </summary>
|
|||
|
|
public string MaximizeRestoreButtonName => "maximizeRestoreButton";
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Identifier for the close caption button.
|
|||
|
|
/// </summary>
|
|||
|
|
public string CloseButtonName => "closeButton";
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Creates a new <see cref="WindowCaptionButtonBaseConverter" />.
|
|||
|
|
/// </summary>
|
|||
|
|
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();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|