Files
BeWoPlaner/BeWo/Scheduling/Converter/SchedulingRemoveElementVisibilityConverter.cs
Lyndon Jetten 23b8757ff5 FaC: Neues Scheduling-Modul hinzugefügt, aber noch lange nicht fertig.
ownChat: Neues TimeStamp-Objekt wird unterstützt und der Chat funktioniert wieder.
2024-06-05 14:45:33 +02:00

31 lines
926 B
C#

using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace BeWo.Scheduling.Converter
{
public class SchedulingRemoveElementVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
//if(value == null)
//{
return Visibility.Visible;
//}
//var isNew = SchedulerAppointmentEditForm.IsNew;
//var isAllowedToChange = BeWoUtils.CheckSchedulerRights(SchedulerAppointmentEditForm.CurrentAppointment, isNew, SchedulerRightsCheckType.Edit);
//return isAllowedToChange ? Visibility.Visible : Visibility.Hidden;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}